diff options
author | Sam Weinig <sam.weinig@gmail.com> | 2010-02-07 05:26:25 +0000 |
---|---|---|
committer | Sam Weinig <sam.weinig@gmail.com> | 2010-02-07 05:26:25 +0000 |
commit | a8ad5d4975aea17c0e7868f83c25083a0eb2040d (patch) | |
tree | 7cb0efa647547c0ed2e22476306c10eb2e7833b0 /test/PCH/cxx_exprs.cpp | |
parent | 1eb1113b139503a3895714d94ec9c037ae62d3b1 (diff) |
Roll out r95513, it seems to have broken self hosting.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95514 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/PCH/cxx_exprs.cpp')
-rw-r--r-- | test/PCH/cxx_exprs.cpp | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/test/PCH/cxx_exprs.cpp b/test/PCH/cxx_exprs.cpp index 0f0fe88dc5..51269d57b1 100644 --- a/test/PCH/cxx_exprs.cpp +++ b/test/PCH/cxx_exprs.cpp @@ -1,14 +1,13 @@ // Test this without pch. -// RUN: %clang_cc1 -include %S/cxx_exprs.h -std=c++0x -fsyntax-only -verify %s +// RUN: %clang_cc1 -include %S/cxx_exprs.h -fsyntax-only -verify %s // Test with pch. -// RUN: %clang_cc1 -x c++-header -std=c++0x -emit-pch -o %t %S/cxx_exprs.h -// RUN: %clang_cc1 -std=c++0x -include-pch %t -fsyntax-only -verify %s +// RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx_exprs.h +// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s int integer; double floating; char character; -bool boolean; // CXXStaticCastExpr static_cast_result void_ptr = &integer; @@ -25,11 +24,3 @@ const_cast_result char_ptr = &character; // CXXFunctionalCastExpr functional_cast_result *double_ptr = &floating; - -// CXXBoolLiteralExpr -bool_literal_result *bool_ptr = &boolean; -static_assert(true_value, "true_value is true"); -static_assert(!false_value, "false_value is false"); - -// CXXNullPtrLiteralExpr -cxx_null_ptr_result null_ptr = nullptr; |