Skip to content

Commit e8bb014

Browse files
fineg74jsji
authored andcommitted
Disable a variable length array error to resolve test failure
1 parent c5be48f commit e8bb014

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/test/SemaSYCL/sycl-restrict.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// RUN: %clang_cc1 -fsycl-is-device -fcxx-exceptions -triple spir64 \
1+
// RUN: %clang_cc1 -Wno-vla -fsycl-is-device -fcxx-exceptions -triple spir64 \
22
// RUN: -aux-triple x86_64-unknown-linux-gnu -Wno-return-type -verify \
33
// RUN: -Wno-sycl-2017-compat -fsyntax-only -std=c++17 %s
4-
// RUN: %clang_cc1 -fsycl-is-device -fcxx-exceptions -triple spir64 \
4+
// RUN: %clang_cc1 -Wno-vla -fsycl-is-device -fcxx-exceptions -triple spir64 \
55
// RUN: -aux-triple x86_64-unknown-linux-gnu -fno-sycl-allow-func-ptr \
66
// RUN: -Wno-return-type -verify -Wno-sycl-2017-compat -fsyntax-only \
77
// RUN: -std=c++17 %s
8-
// RUN: %clang_cc1 -fsycl-is-device -fcxx-exceptions -triple spir64 \
8+
// RUN: %clang_cc1 -Wno-vla -fsycl-is-device -fcxx-exceptions -triple spir64 \
99
// RUN: -aux-triple x86_64-unknown-linux-gnu -DALLOW_FP=1 \
1010
// RUN: -fsycl-allow-func-ptr -Wno-return-type -verify \
1111
// RUN: -Wno-sycl-2017-compat -fsyntax-only -std=c++17 %s

0 commit comments

Comments
 (0)