Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist129.C
blob4d4faa9e08d9cb8893dcf9b1f81194e5ddfcbb09
1 // PR c++/104996
2 // { dg-do compile { target c++11 } }
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, "");