Skip to content

Commit 73ccefe

Browse files
committed
Fix Windows again
1 parent 4c51194 commit 73ccefe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

clang/test/SemaSYCL/intel-restrict.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clang_cc1 %s -fsyntax-only -fsycl -fsycl-is-device -DCHECKDIAG -verify
2-
// RUN: %clang_cc1 %s -fsyntax-only -ast-dump -fsycl -fsycl-is-device | FileCheck %s
1+
// RUN: %clang_cc1 %s -fsyntax-only -fsycl -fsycl-is-device -triple spir64 -DCHECKDIAG -verify
2+
// RUN: %clang_cc1 %s -fsyntax-only -ast-dump -fsycl -fsycl-is-device -triple spir64 | FileCheck %s
33

44
[[intel::kernel_args_restrict]] // expected-warning{{'kernel_args_restrict' attribute ignored}}
55
void func_ignore() {}
@@ -18,17 +18,17 @@ __attribute__((sycl_kernel)) void kernel(Func kernelFunc) {
1818
}
1919

2020
int main() {
21-
// CHECK-LABEL: FunctionDecl {{.*}} _ZTSZ4mainE12test_kernel1
21+
// CHECK-LABEL: FunctionDecl {{.*}}test_kernel1
2222
// CHECK: SYCLIntelKernelArgsRestrictAttr
2323
kernel<class test_kernel1>(
2424
FuncObj());
2525

26-
// CHECK-LABEL: FunctionDecl {{.*}} _ZTSZ4mainE12test_kernel2
26+
// CHECK-LABEL: FunctionDecl {{.*}}test_kernel2
2727
// CHECK: SYCLIntelKernelArgsRestrictAttr
2828
kernel<class test_kernel2>(
2929
[]() [[intel::kernel_args_restrict]] {});
3030

31-
// CHECK-LABEL: FunctionDecl {{.*}} _ZTSZ4mainE12test_kernel3
31+
// CHECK-LABEL: FunctionDecl {{.*}}test_kernel3
3232
// CHECK-NOT: SYCLIntelKernelArgsRestrictAttr
3333
kernel<class test_kernel3>(
3434
[]() {func_ignore();});

0 commit comments

Comments
 (0)