Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / const2.C
blobb6aa6d4a7d74187625c5fea29137d1a0274ae3ef
1 // { dg-do run  }
2 // Example of static member constants
4 extern "C" int printf (const char *, ...);
6 struct T {
7   static const char letter = 'a'; // this is the new stuff!
8   char x[letter];
9   void f();
12 void T::f() { printf ("%p", &letter); }
13 const char T::letter;               // still need def after class
15 int main() { }