projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71685c4
)
typeof is an extension, -ansi -pedantic (default options) wouldn't
author
Alexandre Oliva
<oliva@gcc.gnu.org>
Sat, 10 Oct 1998 08:15:19 +0000
(08:15 +0000)
committer
Alexandre Oliva
<oliva@gcc.gnu.org>
Sat, 10 Oct 1998 08:15:19 +0000
(08:15 +0000)
accept it; make it __typeof__
From-SVN: r22973
gcc/testsuite/g++.old-deja/g++.ext/typeof1.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.old-deja/g++.ext/typeof1.C
b/gcc/testsuite/g++.old-deja/g++.ext/typeof1.C
index a21f3c7bf3bdb6e096cfd1fc9f041b234dcb3641..59edb91add7d3dd52b826becb5ffd4f9896d9117 100644
(file)
--- 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 <class T>
void F(T x)
{
- typedef
typeof
(x.elem[0]) dummy;
+ typedef
__typeof__
(x.elem[0]) dummy;
i = 1;
}