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
/
nsdmi-template7.C
blob
cec7b7bea2bee697866286b77e862191c64f908b
1
// PR c++/58725
2
// { dg-do compile { target c++11 } }
3
4
struct A {
5
template<int=0>
6
struct B {
7
struct C {
8
int x = 0;
9
double y = x;
10
} c;
11
};
12
};
13
int main() {
14
A::B<>();
15
}