diff options
author | No Author <no-author@gcc.gnu.org> | 2001-03-16 12:52:21 +0000 |
---|---|---|
committer | No Author <no-author@gcc.gnu.org> | 2001-03-16 12:52:21 +0000 |
commit | 7f236610e99c7a11fb18f056b6446b3c7c40979c (patch) | |
tree | 49f3776b3f6d52869280ed319564c7c1d72d18a5 /gcc/testsuite/g++.old-deja/g++.bugs/900406_02.C | |
parent | 418f81eefb6540582e4818225404d4a647ad67eb (diff) |
This commit was manufactured by cvs2svn to create tag 'gcc-2_95_3'.releases/gcc-2.95.3
From-SVN: r40553
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.bugs/900406_02.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.bugs/900406_02.C | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.bugs/900406_02.C b/gcc/testsuite/g++.old-deja/g++.bugs/900406_02.C deleted file mode 100644 index daf46a14e86..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.bugs/900406_02.C +++ /dev/null @@ -1,25 +0,0 @@ -// g++ bug 900406_02 - -// g++ fails to correctly parse some type specifications within casts. - -// This results in incorrect errors being issued. - -// These errors are not issued for identical code by either cfront or -// by gcc. - -// cfront 2.0 passes this test. - -// keywords: syntax, array types, casts - -int (*ipp)[]; -int (**ippp)[]; - -int function () -{ - ipp = (int (*)[]) 0; // OK - ippp = (int (**)[]) 0; // gets bogus error (syntax) - return 0; -} - -int main () { return 0; } - |