OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/52743
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-array3.C
1
// PR c++/52743
2
// { dg-do compile { target c++11 } }
3
4
void composite (int const (&) [2]);
5
void composite (int const (&) [3]);
6
7
int main ()
8
{
9
composite({0,1}); // { dg-error "ambiguous" }
10
}