| 1 |
// { dg-do compile } |
| 2 |
// { dg-options "" } |
| 3 |
|
| 4 |
void foo (); |
| 5 |
void foo () __attribute__((target ("sse4"))); |
| 6 |
void foo () __attribute__((target ("default"))); // { dg-message "previous declaration" } |
| 7 |
void foo () // { dg-error "attribute for multi-versioned" } |
| 8 |
{ |
| 9 |
} |