Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / gcc / testsuite / g++.dg / cpp0x / syntax-err1.C
blob5f5a236a5cd4d965cde5ea34932df1dd1af65398
1 // PR c++/47198
2 // { dg-do compile { target c++11 } }
4 struct S
6   template < int > sometype foo (); // { dg-error "sometype. does not name a type" }
7   S () = default;
8 };