// RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s
// Test that a very basic variation of generalized initializer returns (that
// required for libstdc++ 4.5) is supported in C++98.
inttest0(inti){return{ i };// expected-warning{{generalized initializer lists are a C++11 extension}} expected-warning {{scalar}}
}template<typename T,typename U>
T test1(U u){return{ u };// expected-warning{{generalized initializer lists are a C++11 extension}}
}templateinttest1(char);templatelongtest1(int);