Testcase for half of r142048.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142053 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/cxx0x-in-cxx98.cpp b/test/Parser/cxx0x-in-cxx98.cpp
index 95ceafd..e5f1041 100644
--- a/test/Parser/cxx0x-in-cxx98.cpp
+++ b/test/Parser/cxx0x-in-cxx98.cpp
@@ -16,3 +16,8 @@
   virtual void f() override; // expected-warning {{'override' keyword accepted as a C++11 extension}}
   virtual void g() final; // expected-warning {{'final' keyword accepted as a C++11 extension}}
 };
+
+void NewBracedInitList() {
+  // A warning on this would be sufficient once we can handle it correctly.
+  new int {}; // expected-error {{}}
+}