From: Alexandre Oliva Date: Sat, 10 Oct 1998 08:15:19 +0000 (+0000) Subject: typeof is an extension, -ansi -pedantic (default options) wouldn't X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce886362097728b8156e709760ba15ba58557642;p=gcc.git typeof is an extension, -ansi -pedantic (default options) wouldn't accept it; make it __typeof__ From-SVN: r22973 --- diff --git a/gcc/testsuite/g++.old-deja/g++.ext/typeof1.C b/gcc/testsuite/g++.old-deja/g++.ext/typeof1.C index a21f3c7bf3b..59edb91add7 100644 --- a/gcc/testsuite/g++.old-deja/g++.ext/typeof1.C +++ b/gcc/testsuite/g++.old-deja/g++.ext/typeof1.C @@ -9,7 +9,7 @@ struct inttest { template void F(T x) { - typedef typeof(x.elem[0]) dummy; + typedef __typeof__(x.elem[0]) dummy; i = 1; }