Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr63904.C
blob: 14f03031a9395556162db5ade6c7cbdf11a0fbdc [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// { dg-options "-Wno-pedantic" }
template
<
int
N
>
struct
foo
{
constexpr
foo
()
:
a
()
{}
int
a
[
N
];
};
int
main
()
{
foo
<
(
foo
<
1
>{}).
a
[
0
]
>
f
;
return
0
;
}