summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/initlist-array3.C
blob: 4140cd92d7b50e36a6984f0471053cd9f1eb1939 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/52743
// { dg-do compile { target c++11 } }

void composite (int const (&) [2]);
void composite (int const (&) [3]);

int main ()
{
  // Not ambiguous since CWG 1307.
  composite({0,1});
}