From 7e8607bf952e4cd5750614ffa6391def8a48cdae Mon Sep 17 00:00:00 2001 From: "Garcia Orozco, David" Date: Fri, 4 Oct 2024 06:30:45 -0700 Subject: [PATCH] Use expansion to set C++ version in e2e test --- sycl/test-e2e/Basic/vector/byte.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -------------==//