1 | // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | kernel void foo(global int a[], local int b[], constant int c[4]) { } |
5 | |
6 | void bar(global int a[], local int b[], constant int c[4], int d[]) { } |
7 |
1 | // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | kernel void foo(global int a[], local int b[], constant int c[4]) { } |
5 | |
6 | void bar(global int a[], local int b[], constant int c[4], int d[]) { } |
7 |