Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-array6.C
blob: fdfde0a3c60673f3518efc0228a9d3f48fcc3f60 [
file
] [
log
] [
blame
]
// PR c++/70167
// { dg-do compile { target c++11 } }
template
<
class
T
,
unsigned
S
>
void
f
(
T
(&&)[
S
])
{
}
using
arr
=
const
int
[
2
];
int
main
()
{
f
(
arr
{
1
,
2
});
}