Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/nsdmi-template6.C

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;