blob: 1f5c576f0a7c7f1378436ef1ecee2519e162e4d8 [file] [log] [blame]
// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-options "-msse2" }
int foo () __attribute__ ((target("default")));
int foo () __attribute__ ((target("sse2")));
int
main ()
{
return foo ();
}
int __attribute__ ((target("default")))
foo ()
{
return 0;
}
int __attribute__ ((target("sse2")))
foo ()
{
return 0;
}