commit | 33deb35535aebe81bed0eaf5c14f3032276a086e | [log] [tgz] |
---|---|---|
author | Sebastian Redl <sebastian.redl@getdesigned.at> | Wed Feb 22 10:50:08 2012 +0000 |
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | Wed Feb 22 10:50:08 2012 +0000 |
tree | 1a6b786fd11d1fd4d8c083f85419739e12012c4b | |
parent | 76517426dc8bf7734c07eefc35171a6bfdba1a2b [diff] [blame] |
Fix parsing and processing initializer lists in return statements and as direct member initializers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151155 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp b/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp index 6c299c7..23b5151 100644 --- a/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp +++ b/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
@@ -130,6 +130,7 @@ struct haslist1 { std::initializer_list<int> il = {1, 2, 3}; // expected-warning{{at the end of the constructor}} + std::initializer_list<int> jl{1, 2, 3}; // expected-warning{{at the end of the constructor}} haslist1(); };