Updating a test case that was missed in r369957.

llvm-svn: 369968
This commit is contained in:
Aaron Ballman 2019-08-26 20:55:43 +00:00
parent 58a0714885
commit 72797ba072
1 changed files with 1 additions and 1 deletions

View 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}}