diff options
Diffstat (limited to 'test/SemaOpenCL/storageclass.cl')
-rw-r--r-- | test/SemaOpenCL/storageclass.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaOpenCL/storageclass.cl b/test/SemaOpenCL/storageclass.cl index c78e7cd..fdfe134 100644 --- a/test/SemaOpenCL/storageclass.cl +++ b/test/SemaOpenCL/storageclass.cl @@ -1,6 +1,6 @@ // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=CL1.2 -static int A; +static constant int A = 0; // static is not allowed at local scope. void kernel foo() { |