Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / parse5.C
blob251db3d56b34e81393784c0504e3382aa8e86053
1 // { dg-do assemble  }
2 // Bug: foo (bar) should be a declaration of a static data member, not a
3 // function; it's getting caught by the rules for constructors.
5 typedef int foo;
6 typedef int bar;
7 struct A {
8   static foo (bar);             // { dg-bogus "" } 
9 };
11 int i = A::bar;                 // { dg-bogus "" } 
12 int (*fp)(bar) = A::foo;        // { dg-error "" }