1 2 3 4 5 6 7 8 9 10 11 12
// { 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)" } { }