☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi-template6.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/nsdmi-template6.C
code
plain
raw
1
// PR c++/58829
2
// { dg-do compile { target c++11 } }
3
4
struct A {
5
int f() {return 0;}
6
} a;
7
8
struct B {
9
template<int=0> struct C {
10
int i = a.f();
11
};
12
};
13
B::C<> c;