Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-template11.C
blob: 0ad49088ad15c7fccd4a75f334aba26c75e7b17d [
file
] [
log
] [
blame
]
// PR c++/65579
// { dg-do link { target c++11 } }
template
<typename>
struct
S
{
int
i
;
};
struct
T
{
static
constexpr
S
<int>
s
=
{
1
};
};
int
main
()
{
return
T
::
s
.
i
;
}