(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
const5.C
// PR c++/49176
// { dg-do compile { target c++11 } }

struct A { static int a(); };

template<int>
struct B { static int const b; };

int f() { return B<0>::b; }

template<int I>
int const B<I>::b=A::a();