Merge reload-branch up to revision 101000
[official-gcc.git] / gcc / testsuite / g++.dg / parse / ret-type1.C
bloba5dc93ab0d9702ccd2871a2be72b0c8d8db6bc34
1 // PR c++/2738
2 // Origin: Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
3 // { dg-do compile }
5 template <int i> class A
7     class C { C(); };
8 };
10 template <int i> void A<i>::C::C () {} // { dg-error "return type" }