13 lines
240 B
C
13 lines
240 B
C
// { dg-do compile }
|
|
// { dg-options "" }
|
|
|
|
__attribute__((target ("default")))
|
|
void foo (void) // { dg-message "previously defined here" }
|
|
{
|
|
}
|
|
|
|
__attribute__((target (128)))
|
|
void foo (void) // { dg-error "(not a string|redefinition)" }
|
|
{
|
|
}
|