blob: 2ed0a5f10fed9d39f8fe58d8597fad0c7b3bcd6d (
plain)
1
2
3
4
5
6
7
|
/* PR c/60915 */
/* { dg-do compile } */
void /* { dg-error "attributes should be specified before the declarator in a function definition" } */
foo (void) __attribute__((__visibility__("default")))
{
}
|