From 3da88fac5416ce0437bd94d47f25754416c36b5a Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 26 Apr 2013 14:36:30 +0000 Subject: C++1y: support simple variable assignments in constexpr functions. llvm-svn: 180603 --- clang/test/SemaCXX/constexpr-value-init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/SemaCXX/constexpr-value-init.cpp') diff --git a/clang/test/SemaCXX/constexpr-value-init.cpp b/clang/test/SemaCXX/constexpr-value-init.cpp index e459f097b9d..d137bd88db0 100644 --- a/clang/test/SemaCXX/constexpr-value-init.cpp +++ b/clang/test/SemaCXX/constexpr-value-init.cpp @@ -1,7 +1,7 @@ // RUN: %clang_cc1 %s -std=c++11 -fsyntax-only -verify struct A { - constexpr A() : a(b + 1), b(a + 1) {} // expected-note {{uninitialized}} + constexpr A() : a(b + 1), b(a + 1) {} // expected-note {{outside its lifetime}} int a; int b; }; -- cgit v1.2.3