blob: 6693ca1f81adf8ec0d12566a855aa89046ccb9ae [file] [log] [blame]
// PR c++/84059
// { dg-do compile }
// { dg-require-ifunc "" }
template <typename> struct a
{
int __attribute__ ((target ("arch=ivybridge"))) c (int) {return 1;}
int __attribute__ ((target ("default"))) c (int) { return 2; }
};
void
d ()
{
a<double> b;
b.c (2);
}