repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
error52.C
blob
03068bbf440ce4806cec86b21b3775d0178a42c5
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
}