Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/initlist129.C

raw
1 // PR c++/104996
2 // { dg-do compile { target c++11 } }
3
4 template<unsigned size> char f(int (&&)[size]);
5 template<unsigned size> int f(int const (&)[size]);
6 static_assert(sizeof(f({1, 2, 3})) == 1, "");