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