Debian Codegraph @

gcc/testsuite/g++.dg/parse/ret-type1.C

raw
1 // PR c++/2738
2 // Origin: Wolfgang Bangerth <[email protected]>
3 // { dg-do compile }
4
5 template <int i> class A
6 {
7 class C { C(); };
8 };
9
10 template <int i> void A<i>::C::C () {} // { dg-error "return type" }