Skip to content

Commit 735e7b8

Browse files
committed
warnings.cpp fix 2
Signed-off-by: Aleksander Fadeev <aleksander.fadeev@intel.com>
1 parent a3eb3d8 commit 735e7b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sycl/test/warnings/warnings.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -fsycl --no-system-header-prefix=CL/ -Wall -Wextra -Wno-ignored-attributes -Wpessimizing-move -Wunused-variable -Wmismatched-tags -Wunneeded-internal-declaration -Werror -Wno-unknown-cuda-version %s -o %t.out
1+
// RUN: %clangxx -fsycl --no-system-header-prefix=CL/ -Wall -Wextra -Wno-ignored-attributes -Wno-deprecated-declarations -Wpessimizing-move -Wunused-variable -Wmismatched-tags -Wunneeded-internal-declaration -Werror -Wno-unknown-cuda-version %s -o %t.out
22

33
#include <CL/sycl.hpp>
44

@@ -7,7 +7,6 @@ using namespace cl::sycl;
77
int main(void) {
88
// add a very simple kernel to see if compilation succeeds with -Werror
99
int data1[10] = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
10-
exit(1);
1110
buffer<int, 1> B(data1, range<1>(10), {property::buffer::use_host_ptr()});
1211
queue Q;
1312
Q.submit([&](handler &CGH) {

0 commit comments

Comments
 (0)