aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/cl-pch-errorhandling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/cl-pch-errorhandling.cpp')
-rw-r--r--test/Driver/cl-pch-errorhandling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Driver/cl-pch-errorhandling.cpp b/test/Driver/cl-pch-errorhandling.cpp
index 879c8cf8e7da..33071beb5b8f 100644
--- a/test/Driver/cl-pch-errorhandling.cpp
+++ b/test/Driver/cl-pch-errorhandling.cpp
@@ -6,7 +6,7 @@
// code generation, which makes this test require an x86 backend.
// REQUIRES: x86-registered-target
-// RUN: not %clang_cl -Werror /Yc%S/Inputs/pchfile.h /FI%S/Inputs/pchfile.h /Fp%t.pch /c -DERR_HEADER -- %s 2>&1 \
+// RUN: not %clang_cl -Werror --target=x86_64 /Yc%S/Inputs/pchfile.h /FI%S/Inputs/pchfile.h /Fp%t.pch /c -DERR_HEADER -- %s 2>&1 \
// RUN: | FileCheck %s
// CHECK: nope1