From 952eddef9aff85b1e92626e89baaf7a360e2ac85 Mon Sep 17 00:00:00 2001 From: dim <dim@FreeBSD.org> Date: Sun, 22 Dec 2013 00:07:40 +0000 Subject: Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3): https://llvm.org/svn/llvm-project/cfe/branches/release_34@197841 --- test/CXX/expr/expr.unary/expr.new/p2-cxx0x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/CXX/expr/expr.unary/expr.new/p2-cxx0x.cpp') diff --git a/test/CXX/expr/expr.unary/expr.new/p2-cxx0x.cpp b/test/CXX/expr/expr.unary/expr.new/p2-cxx0x.cpp index 4ebbfce..2e99b52 100644 --- a/test/CXX/expr/expr.unary/expr.new/p2-cxx0x.cpp +++ b/test/CXX/expr/expr.unary/expr.new/p2-cxx0x.cpp @@ -11,7 +11,7 @@ void f() { only<double*> q = new (auto) (0.0); new auto; // expected-error{{new expression for type 'auto' requires a constructor argument}} - new (const auto)(); // expected-error{{new expression for type 'auto const' requires a constructor argument}} + new (const auto)(); // expected-error{{new expression for type 'const auto' requires a constructor argument}} new (auto) (1,2,3); // expected-error{{new expression for type 'auto' contains multiple constructor arguments}} } -- cgit v1.1