summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCUDA/builtins.cu
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCUDA/builtins.cu')
-rw-r--r--clang/test/SemaCUDA/builtins.cu4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCUDA/builtins.cu b/clang/test/SemaCUDA/builtins.cu
index 41418b5a278..814fda2ac7d 100644
--- a/clang/test/SemaCUDA/builtins.cu
+++ b/clang/test/SemaCUDA/builtins.cu
@@ -12,8 +12,8 @@
// RUN: -aux-triple x86_64-unknown-unknown \
// RUN: -fsyntax-only -verify %s
-#if !defined(__x86_64__)
-#error "Expected to see preprocessor macros from the host."
+#if !(defined(__amd64__) && defined(__PTX__))
+#error "Expected to see preprocessor macros from both sides of compilation."
#endif
void hf() {
OpenPOWER on IntegriCloud