Debian Codegraph @

gcc/testsuite/g++.target/i386/pr99108.C

raw
1 /* PR c++/99108 */
2 /* { dg-require-ifunc "" } */
3
4 struct A {
5 template <class T>
6 void foo(T);
7 };
8 template <class T>
9 void A::foo(T)
10 {
11 int f(void) __attribute__((target("default")));
12 int f(void) __attribute__((target("arch=atom")));
13 int b = f();
14 }
15 void bar(void)
16 {
17 A c;
18 c.foo(7);
19 }