summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/auto21.C
blob: 1cbcac58d6a2dc18fa02591a43ad0e566cc05f95 (plain)
1
2
3
4
5
// Origin PR c++/47208
// { dg-options "-std=c++0x" }

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