1 // PR c++/60409 2 // { dg-do compile { target c++14 } } 3 4 struct A 5 { 6 void foo(); 7 }; 8 bar(T)9 template<typename T> void bar(T) 10 { 11 (A().foo)(); 12 } 13