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