Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / ext / visibility / visibility-5.C
blob592529e665d6f65d323ed12060566e340639c255
1 /* Test visibility attribute on definition of a function that has
2    already had a forward declaration. */
3 /* { dg-require-visibility "" }
4 /* { dg-final { scan-hidden "_Z3foov" } } */
6 void foo();
8 void 
9  __attribute__((visibility ("hidden")))
10 foo() 
11 { }