2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / other / pr28304.C
blob9a0e9cdd791cadeb9d0bba4a11b8c9f09480aacc
2 // Test to make sure we do not ICE on this invalid program.
4 struct A {};
6 template<typename T> void A::foo(T) {}  // { dg-error "" }
8 void bar()
10     A::foo(1); // { dg-error "not a member" }