diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.bugs/900208_02.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.bugs/900208_02.C | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.bugs/900208_02.C b/gcc/testsuite/g++.old-deja/g++.bugs/900208_02.C deleted file mode 100644 index 7e99abdb00f..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.bugs/900208_02.C +++ /dev/null @@ -1,17 +0,0 @@ -// g++ 1.36.1 bug 900208_02 - -// g++ does not allow a static member of a class/struct/union to be -// declared as an array without an explicit upper bound. - -// Cfront 2.0 passes this test. - -// keywords: static data members, arrays, dimension, array bound - -class class0 { -public: - static int class0_data_member_0[]; // gets bogus error -}; - -int class0::class0_data_member_0[3] = { 1, 2, 3 }; // gets bogus error - -int main () { return 0; } |