Skip to content

Commit eb24882

Browse files
authored
[SYCL][E2E] Use lit expansion to set C++ version in an e2e test (#15607)
Sets C++ version with lit expansion for run line that was missed in #15364. To avoid warning due to using GCC style options with MSVC driver.
1 parent e7cadeb commit eb24882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test-e2e/Basic/vector/byte.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %{build} %cxx_std_optionc++17 -o %t.out
22
// RUN: %{run} %t.out
33

4-
// RUN: %if preview-breaking-changes-supported %{ %{build} -fpreview-breaking-changes -std=c++17 -o %t2.out %}
4+
// RUN: %if preview-breaking-changes-supported %{ %{build} -fpreview-breaking-changes %cxx_std_optionc++17 -o %t2.out %}
55
// RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
66

77
//==---------- vector_byte.cpp - SYCL vec<> for std::byte test -------------==//

0 commit comments

Comments
 (0)