diff --git a/sycl/test-e2e/Basic/vector/byte.cpp b/sycl/test-e2e/Basic/vector/byte.cpp index 278a49a31b955..10c8e097d34ed 100644 --- a/sycl/test-e2e/Basic/vector/byte.cpp +++ b/sycl/test-e2e/Basic/vector/byte.cpp @@ -1,7 +1,7 @@ // RUN: %{build} %cxx_std_optionc++17 -o %t.out // RUN: %{run} %t.out -// RUN: %if preview-breaking-changes-supported %{ %{build} -fpreview-breaking-changes -std=c++17 -o %t2.out %} +// RUN: %if preview-breaking-changes-supported %{ %{build} -fpreview-breaking-changes %cxx_std_optionc++17 -o %t2.out %} // RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %} //==---------- vector_byte.cpp - SYCL vec<> for std::byte test -------------==//