blob: 335a7dab8e0828891db790ad68e4f431834c52cd [file] [log] [blame]
// PR c++/44157
// { dg-do compile { target c++11 } }
#include <initializer_list>
template<typename T>
void f(T) { }
int main() {
std::initializer_list<int> a = { 0 };
f(a);
f<std::initializer_list<int> >({ 0 });
}