]> granicus.if.org Git - clang/commitdiff
Updating a test case that was missed in r369957.
authorAaron Ballman <aaron@aaronballman.com>
Mon, 26 Aug 2019 20:55:43 +0000 (20:55 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 26 Aug 2019 20:55:43 +0000 (20:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369968 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaOpenCLCXX/restricted.cl

index 9798c92b6d76fd857a562e8ae7cd5f6eea3c259d..83d83e5cd438aad1cd25b11603f09b13366ae038 100644 (file)
@@ -31,7 +31,7 @@ B *test_dynamic_cast(B *p) {
 // Test storage class qualifiers.
 __constant _Thread_local int a = 1;
 // expected-error@-1 {{C++ for OpenCL version 1.0 does not support the '_Thread_local' storage class specifier}}
-// expected-warning@-2 {{_Thread_local is a C11-specific feature}}
+// expected-warning@-2 {{_Thread_local is a C11 extension}}
 
 __constant __thread int b = 2;
 // expected-error@-1 {{C++ for OpenCL version 1.0 does not support the '__thread' storage class specifier}}