☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-array2.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/initlist-array2.C
code
plain
raw
1
// { dg-do compile { target c++11 } }
2
3
typedef int IA[2];
4
typedef double DA[2];
5
6
void f(const IA&) { }
7
void f(const DA&);
8
9
int main()
10
{
11
f({1,2});
12
}