blob: 680083646fc5f5845f4f0f1a6c89385ea8dce47f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-do compile } */
/* { dg-options "-O2" } */
extern void foo (void); /* { dg-note "previous declaration" } */
__attribute__ ((preserve_none))
void
foo (void) /* { dg-error "conflicting types" } */
{
}
|