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