diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:06:01 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:06:01 +0000 |
| commit | 486754660bb926339aefcf012a3f848592babb8b (patch) | |
| tree | ecdbc446c9876f4f120f701c243373cd3cb43db3 /test/Parser/opencl-storage-class.cl | |
| parent | 55e6d896ad333f07bb3b1ba487df214fc268a4ab (diff) | |
Vendor import of clang trunk r338150:vendor/clang/clang-trunk-r338150
Diffstat (limited to 'test/Parser/opencl-storage-class.cl')
| -rw-r--r-- | test/Parser/opencl-storage-class.cl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Parser/opencl-storage-class.cl b/test/Parser/opencl-storage-class.cl index a8ebc1af3999..a33c6e88401a 100644 --- a/test/Parser/opencl-storage-class.cl +++ b/test/Parser/opencl-storage-class.cl @@ -2,10 +2,10 @@ void test_storage_class_specs() { - static int a; // expected-error {{OpenCL version 1.0 does not support the 'static' storage class specifier}} - register int b; // expected-error {{OpenCL version 1.0 does not support the 'register' storage class specifier}} - extern int c; // expected-error {{OpenCL version 1.0 does not support the 'extern' storage class specifier}} - auto int d; // expected-error {{OpenCL version 1.0 does not support the 'auto' storage class specifier}} + static int a; // expected-error {{OpenCL C version 1.0 does not support the 'static' storage class specifier}} + register int b; // expected-error {{OpenCL C version 1.0 does not support the 'register' storage class specifier}} + extern int c; // expected-error {{OpenCL C version 1.0 does not support the 'extern' storage class specifier}} + auto int d; // expected-error {{OpenCL C version 1.0 does not support the 'auto' storage class specifier}} #pragma OPENCL EXTENSION cl_clang_storage_class_specifiers : enable static int e; // expected-error {{static local variable must reside in constant address space}} |
