aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/auto21.C
blob: a827b3df85370719e77715ce90b4cba307f327ab (plain)
1
2
3
4
5
// Origin PR c++/47208
// { dg-do compile { target c++11 } }

constexpr auto list = { }; // { dg-error "deducing from brace-enclosed initializer list requires #include <initializer_list>" }
static const int l = list.size();