Debian Codegraph @

gcc/testsuite/g++.dg/template/permissive-error3.C

raw
1 // PR c++/120575
2 // { dg-additional-options -Wno-template-body }
3
4 template< int >
5 struct T {};
6
7 template< int >
8 struct S {
9
10 operator typename T< oops >::anything () {};
11
12 };