Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
const5.C
blob: 6de025816244a491dd282c540b3d2f635f8bebc6 [
file
] [
log
] [
blame
]
// 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
();