Skip to content

Commit ef654c6

Browse files
committed
Fix file extension in the test.
1 parent 951f566 commit ef654c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Driver/sycl-offload-new-driver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/// Verify --offload-new-driver option phases
33
// RUN: %clang --target=x86_64-unknown-linux-gnu -fsycl -fsycl-targets=nvptx64-nvidia-cuda,spir64 --offload-new-driver -ccc-print-phases %s 2>&1 \
44
// RUN: | FileCheck -check-prefix=OFFLOAD-NEW-DRIVER %s
5-
// OFFLOAD-NEW-DRIVER: 0: input, "[[INPUT:.+\.c]]", c++, (host-sycl)
5+
// OFFLOAD-NEW-DRIVER: 0: input, "[[INPUT:.+\.cpp]]", c++, (host-sycl)
66
// OFFLOAD-NEW_DRIVER: 1: preprocessor, {0}, c++-cpp-output, (host-sycl)
77
// OFFLOAD-NEW_DRIVER: 2: compiler, {1}, ir, (host-sycl)
88
// OFFLOAD-NEW_DRIVER: 3: input, "[[INPUT]]", c++, (device-sycl)
@@ -123,7 +123,7 @@
123123
// RUN: -fsycl-targets=intel_gpu_dg1,intel_gpu_pvc \
124124
// RUN: --offload-new-driver -ccc-print-phases %s 2>&1 \
125125
// RUN: | FileCheck -check-prefix=MULT_TARG_PHASES %s
126-
// MULT_TARG_PHASES: 0: input, "[[INPUT:.+\.c]]", c++, (host-sycl)
126+
// MULT_TARG_PHASES: 0: input, "[[INPUT:.+\.cpp]]", c++, (host-sycl)
127127
// MULT_TARG_PHASES: 1: preprocessor, {0}, c++-cpp-output, (host-sycl)
128128
// MULT_TARG_PHASES: 2: compiler, {1}, ir, (host-sycl)
129129
// MULT_TARG_PHASES: 3: input, "[[INPUT]]", c++, (device-sycl, dg1)

0 commit comments

Comments
 (0)