We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fdf2ee commit 1a32c31Copy full SHA for 1a32c31
clang/test/Sema/attr-model.cpp
@@ -4,7 +4,7 @@
4
// RUN: %clang_cc1 -triple powerpc64 -verify=expected,unsupported -fsyntax-only %s
5
// RUN: %clang_cc1 -triple riscv64 -verify=expected,unsupported -fsyntax-only %s
6
// RUN: %clang_cc1 -triple x86_64 -verify=expected,x86_64 -fsyntax-only %s
7
-// RUN: %clang_cc1 -triple nvptx64 -fcuda-is-device -verify=expected,unsupported -fsyntax-only %s
+// RUN: %clang_cc1 -triple nvptx64-unknown-cuda -fcuda-is-device -x cuda -verify=expected,unsupported -fsyntax-only %s
8
9
#if (defined(__loongarch__) || defined(__x86_64__)) && !__has_attribute(model)
10
#error "Should support model attribute"
0 commit comments