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++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
defarg19.C
blob
856980232f4557d53247cfeebb62108578607da7
1
// PR c++/53856
2
3
template<typename T>
4
struct A
5
{
6
struct B;
7
};
8
9
template<typename T = int>
10
struct A<T>::B // { dg-error "default argument" }
11
{
12
int i;
13
};
14
15
A<int>::B b = { };