summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/auto21.C
blob: 346e98c254e633ee7894c7a0cabf902559663f06 (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();