Skip to content

Commit a960c7f

Browse files
[SYCL][LIT] Fix warnings/no_fsycl_flag.cpp (#19440)
This test is failing internally because the line number doesn't match as <sycl/sycl.hpp> internally have a different copyright header than open-source. The line number doesn't matter, so this PR replaces it with a wild card instead.
1 parent ef3c406 commit a960c7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test/warnings/no_fsycl_flag.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// <sycl/sycl.hpp> file is included.
33
// RUN: %clangxx -std=c++17 -I %sycl_include -fsyntax-only %s -Xclang -verify -Xclang -verify-ignore-unexpected=note,warning
44

5-
// expected-warning@sycl/sycl.hpp:27 {{You are including <sycl/sycl.hpp> without -fsycl flag, which is errorenous for device code compilation. This warning can be disabled by setting SYCL_DISABLE_FSYCL_SYCLHPP_WARNING macro.}}
5+
// expected-warning@sycl/sycl.hpp:* {{You are including <sycl/sycl.hpp> without -fsycl flag, which is errorenous for device code compilation. This warning can be disabled by setting SYCL_DISABLE_FSYCL_SYCLHPP_WARNING macro.}}
66
#include <sycl/sycl.hpp>

0 commit comments

Comments
 (0)