Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/template/error52.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 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 } |