[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / ext / mv9.C
blobc59651e102a0b42392efa92b314ab991ca6329c4
1 // { dg-do compile { target i?86-*-* x86_64-*-* } }    
2 // { dg-options "" }   
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" }