Skip to content

Commit 1a32c31

Browse files
committed
add more flags to RUN line
1 parent 2fdf2ee commit 1a32c31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Sema/attr-model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// RUN: %clang_cc1 -triple powerpc64 -verify=expected,unsupported -fsyntax-only %s
55
// RUN: %clang_cc1 -triple riscv64 -verify=expected,unsupported -fsyntax-only %s
66
// 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
7+
// RUN: %clang_cc1 -triple nvptx64-unknown-cuda -fcuda-is-device -x cuda -verify=expected,unsupported -fsyntax-only %s
88

99
#if (defined(__loongarch__) || defined(__x86_64__)) && !__has_attribute(model)
1010
#error "Should support model attribute"

0 commit comments

Comments
 (0)