summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/initlist-array2.C
blob: 19eec33acf7f3ac639f7af50ebfc9ccfb4d1e6bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-options -std=c++0x }

typedef int IA[2];
typedef double DA[2];

void f(const IA&) { }
void f(const DA&);

int main()
{
  f({1,2});
}