Skip to content

Commit 8407960

Browse files
authored
[NFC][Driver] Fix negative test check (#15041)
Negative test was not formulated correctly, allowing for a pass even when the negative case occurs.
1 parent df49dcc commit 8407960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Driver/sycl-host-compiler-old-model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
// RUN: %clangxx -### -fsycl-host-compiler=g++ -fsycl --no-offload-new-driver \
8282
// RUN: -save-temps -c %s 2>&1 \
8383
// RUN: | FileCheck -check-prefix=CHECK_SAVE_TEMPS %s
84-
// CHECK_SAVE_TEMPS-NOT error: unsupported output type when using external host compiler
84+
// CHECK_SAVE_TEMPS-NOT: error: unsupported output type when using external host compiler
8585
// CHECK_SAVE_TEMPS: clang{{.*}} "-fsycl-is-device"
8686
// CHECK_SAVE_TEMPS-SAME: "-E" {{.*}} "-o" "[[PREPROC_OUT:.+sycl-spir64-unknown-unknown.ii]]"
8787
// CHECK_SAVE_TEMPS-NEXT: clang{{.*}} "-fsycl-is-device"

0 commit comments

Comments
 (0)