From 56b0811a1e2c3c8c9675802454c199674d998c96 Mon Sep 17 00:00:00 2001 From: "Jiang, Zhiwei" Date: Fri, 8 Nov 2024 11:19:11 +0800 Subject: [PATCH] [SYCLomatic] Add build testo for LIT case header_insert/b.cu Signed-off-by: Jiang, Zhiwei --- clang/test/dpct/header_insert/b.cu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/test/dpct/header_insert/b.cu b/clang/test/dpct/header_insert/b.cu index b97c606172f9..cccc83bf82c8 100644 --- a/clang/test/dpct/header_insert/b.cu +++ b/clang/test/dpct/header_insert/b.cu @@ -19,6 +19,8 @@ // RUN: FileCheck %S/b.cu --match-full-lines --input-file %T/out/b.dp.cpp // RUN: FileCheck %S/b.cpp --match-full-lines --input-file %T/out/b.cpp // RUN: FileCheck %S/b.h --match-full-lines --input-file %T/out/b.h +// RUN: %if build_lit %{icpx -c -fsycl %T/out/b.dp.cpp -o %T/out/b.dp.o %} +// RUN: %if build_lit %{icpx -c -fsycl %T/out/b.cpp -o %T/out/b.o %} // RUN: rm -rf ./out // CHECK: #define CU_FILE