Commit ce886362 by Alexandre Oliva

typeof is an extension, -ansi -pedantic (default options) wouldn't

accept it; make it __typeof__

From-SVN: r22973
parent 71685c48
......@@ -9,7 +9,7 @@ struct inttest {
template <class T>
void F(T x)
{
typedef typeof(x.elem[0]) dummy;
typedef __typeof__(x.elem[0]) dummy;
i = 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment