blob: 64c04fac60f41f2f33d0be28bb72238d91d2de71 [file] [log] [blame]
// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { 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)" }
{
}