Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;
}