diff --git a/sycl/test/extensions/free_function_kernels/free_function_host_compiler.cpp b/sycl/test/extensions/free_function_kernels/free_function_host_compiler.cpp index f468d3e2ffaa0..62f202d267385 100644 --- a/sycl/test/extensions/free_function_kernels/free_function_host_compiler.cpp +++ b/sycl/test/extensions/free_function_kernels/free_function_host_compiler.cpp @@ -1,6 +1,6 @@ // RUN: %clangxx -fsycl %s // RUN: %clangxx -fsycl -fno-sycl-unnamed-lambda %s -// RUN: %clangxx -fsycl -fsycl-host-compiler=g++ %s +// RUN: %clangxx -fsycl -fsycl-host-compiler=g++ -fsycl-host-compiler-options="-std=c++17" %s // REQUIRES: linux // UNSUPPORTED: libcxx