Skip to content

Commit 6212331

Browse files
authored
[SYCLomatic] Enable build test for LIT case header_insert/b.cu (#2473)
Signed-off-by: Jiang, Zhiwei <[email protected]>
1 parent 93123b1 commit 6212331

File tree

1 file changed

+2
-0
lines changed
  • clang/test/dpct/header_insert

1 file changed

+2
-0
lines changed

clang/test/dpct/header_insert/b.cu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
// RUN: FileCheck %S/b.cu --match-full-lines --input-file %T/out/b.dp.cpp
2020
// RUN: FileCheck %S/b.cpp --match-full-lines --input-file %T/out/b.cpp
2121
// RUN: FileCheck %S/b.h --match-full-lines --input-file %T/out/b.h
22+
// RUN: %if build_lit %{icpx -c -fsycl %T/out/b.dp.cpp -o %T/out/b.dp.o %}
23+
// RUN: %if build_lit %{icpx -c -fsycl %T/out/b.cpp -o %T/out/b.o %}
2224
// RUN: rm -rf ./out
2325

2426
// CHECK: #define CU_FILE

0 commit comments

Comments
 (0)