bolt/deps/llvm-18.1.8/clang/test/SemaOpenCL/array-parameters.cl

7 lines
225 B
Common Lisp
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
// expected-no-diagnostics
kernel void foo(global int a[], local int b[], constant int c[4]) { }
void bar(global int a[], local int b[], constant int c[4], int d[]) { }