Exemple #1
0
 void f() {
   S<int> a;
   a.f(); // expected-note{{in instantiation of member function 'PR11630::S<int>::f' requested here}}
   S2<1> b;
   b.f();
   S2<2> b2;
   b2.f(); // expected-note{{in instantiation of member function 'PR11630::S2<2>::f' requested here}}
 }
void test3(S2 s2) {
  s2->f();
  X foo;
}