Sign in
gnu
/
gcc
/
refs/heads/devel/gfortran-caf
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-array3.C
blob: 1a94f4ed55b3416cd6b25fdb394fa06a5668b1c2 [
file
] [
log
] [
blame
]
// PR c++/52743
// { dg-do compile { target c++11 } }
void
composite
(
int
const
(&)
[
2
]);
void
composite
(
int
const
(&)
[
3
]);
int
main
()
{
composite
({
0
,
1
});
// { dg-error "ambiguous" }
}