blob: b1f0a711672825de63b2ec14007def0751926373 [file] [log] [blame]
/* PR c++/99108 */
/* { dg-require-ifunc "" } */
struct A {
template <class T>
void foo(T);
};
template <class T>
void A::foo(T)
{
int f(void) __attribute__((target("default")));
int f(void) __attribute__((target("arch=atom")));
int b = f();
}
void bar(void)
{
A c;
c.foo(7);
}