repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
nested6.C
blob
f5b8054a5923240ca9264c5656b88b0f67755293
1
// PR c++/63309
2
3
template <class T>
4
class A
5
{
6
public:
7
class B;
8
};
9
10
template <class T, class I>
11
class A<T>::B // { dg-error "template parameters|required" }
12
{
13
};
14
15
int main()
16
{
17
A<int>::B myB; // { dg-prune-output "incomplete type" }
18
return 0;
19
}