diff --git a/SYCL/AOT/cpu.cpp b/SYCL/AOT/cpu.cpp index f1ef935f18..90dedcd1e7 100644 --- a/SYCL/AOT/cpu.cpp +++ b/SYCL/AOT/cpu.cpp @@ -10,3 +10,6 @@ // RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64-unknown-unknown-sycldevice %S/Inputs/aot.cpp -o %t.out // RUN: %CPU_RUN_PLACEHOLDER %t.out + +// Test that opencl-aot can handle multiple build options. +// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64-unknown-unknown-sycldevice %S/Inputs/aot.cpp -Xsycl-target-backend "--bo=-g" -Xsycl-target-backend "--bo=-cl-opt-disable" -o %t2.out