summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/cxx-for-range.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-05-02 20:39:21 +0000
committerChad Rosier <mcrosier@apple.com>2011-05-02 20:39:21 +0000
commitf897d3b88bf5b09b7aa142e2033146bdeda5316f (patch)
treeaef01327c27526c65360241c1348e2c7cd4f6fb2 /clang/test/PCH/cxx-for-range.cpp
parent2a7c219466044abb7f9d92148dd2f8694b3fdac2 (diff)
downloadbcm5719-llvm-f897d3b88bf5b09b7aa142e2033146bdeda5316f.tar.gz
bcm5719-llvm-f897d3b88bf5b09b7aa142e2033146bdeda5316f.zip
Fixed test case asserts due to checkin of r130710.
llvm-svn: 130720
Diffstat (limited to 'clang/test/PCH/cxx-for-range.cpp')
-rw-r--r--clang/test/PCH/cxx-for-range.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/PCH/cxx-for-range.cpp b/clang/test/PCH/cxx-for-range.cpp
index 5854917da5c..46e217c574c 100644
--- a/clang/test/PCH/cxx-for-range.cpp
+++ b/clang/test/PCH/cxx-for-range.cpp
@@ -1,9 +1,9 @@
// Test this without pch.
-// RUN: %clang_cc1 -std=c++0x -include %S/cxx-for-range.h -fsyntax-only -emit-llvm -o - %s
+// RUN: %clang_cc1 -x c++ -std=c++0x -include %S/cxx-for-range.h -fsyntax-only -emit-llvm -o - %s
// Test with pch.
-// RUN: %clang_cc1 -std=c++0x -emit-pch -o %t %S/cxx-for-range.h
-// RUN: %clang_cc1 -std=c++0x -include-pch %t -fsyntax-only -emit-llvm -o - %s
+// RUN: %clang_cc1 -x c++ -std=c++0x -emit-pch -o %t %S/cxx-for-range.h
+// RUN: %clang_cc1 -x c++ -std=c++0x -include-pch %t -fsyntax-only -emit-llvm -o - %s
void h() {
f();
OpenPOWER on IntegriCloud