Debian Codegraph @

gcc/testsuite/g++.dg/template/error52.C

raw
1 // PR c++/16128
2
3 template<typename T>
4 struct A {
5 };
6
7 namespace H {
8 template<typename T>
9 struct B {};
10 }
11
12 A a; // { dg-error "template|no match" }
13 H::B b; // { dg-error "template|no match" }
14
15 int main() {
16 A a; // { dg-error "template|no match" }
17 H::B b; // { dg-error "template|no match" }
18 return 0;
19 }