Skip to content

Commit 284df41

Browse files
author
Erich Keane
committed
Update test to ensure -fsycl is passed to the driver
1 parent 9be624c commit 284df41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test/basic_tests/handler/unnamed-lambda-negative.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -Xclang -fsycl-is-host -std=c++17 -fno-sycl-unnamed-lambda -isystem %sycl_include/sycl -Xclang -verify -fsyntax-only %s -Xclang -verify-ignore-unexpected=note
1+
// RUN: %clangxx -fsycl -fsycl-device-only -std=c++17 -fno-sycl-unnamed-lambda -isystem %sycl_include/sycl -Xclang -verify -fsyntax-only %s -Xclang -verify-ignore-unexpected=note
22
#include <CL/sycl.hpp>
33

44
int main() {

0 commit comments

Comments
 (0)