Merge with main truk.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / auto21.C
bloba827b3df85370719e77715ce90b4cba307f327ab
1 // Origin PR c++/47208
2 // { dg-do compile { target c++11 } }
4 constexpr auto list = { }; // { dg-error "deducing from brace-enclosed initializer list requires #include <initializer_list>" }
5 static const int l = list.size();