blob: 25354b3a54a5faa0915ae4ab7f2acbfaa87432ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// PR c++/48707
// { dg-options -std=c++0x }
struct A {
static int a();
};
template<typename X>
struct B: A {
static int const b;
};
template<typename X>
int const B<X>::b=B<X>::a();
|