blob: da5eab241de48dc1ca796717df2ddd834bbc0947 [file] [log] [blame]
// PR c++/89144
// { dg-do link { target c++11 } }
#include <initializer_list>
template <class> void b() {
static constexpr std::initializer_list<int> c{ 42 };
constexpr std::initializer_list<int> l { };
}
int main() { b<int>(); }