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++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr70528.C
blob
af1c84e1e94468289ae420ab9f5a48907401c177
1
// PR c++/70258
2
// { dg-do compile { target c++11 } }
3
4
template <class T>
5
struct H
6
{
7
template <typename A = T, typename = decltype (A())>
8
H ();
9
};
10
11
struct J {
12
struct K {
13
int First = 0;
14
};
15
H<K> FunctionMDInfo;
16
};