Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
7af1e530468a03dd5bbe86a4351b507477006db9
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
regress
/
template-const2.C
blob: 25354b3a54a5faa0915ae4ab7f2acbfaa87432ce [
file
] [
log
] [
blame
]
// 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
();