diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/const2.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/const2.C | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/const2.C b/gcc/testsuite/g++.old-deja/g++.jason/const2.C deleted file mode 100644 index 7dd956bc284..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/const2.C +++ /dev/null @@ -1,14 +0,0 @@ -// Example of static member constants - -extern "C" int printf (const char *, ...); - -struct T { - static const char letter = 'a'; // this is the new stuff! - char x[letter]; - void f(); -}; - -void T::f() { printf ("%p", &letter); } -const char T::letter; // still need def after class - -int main() { } |