r369968 - Updating a test case that was missed in r369957.
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 26 13:55:43 PDT 2019
Author: aaronballman
Date: Mon Aug 26 13:55:43 2019
New Revision: 369968
URL: http://llvm.org/viewvc/llvm-project?rev=369968&view=rev
Log:
Updating a test case that was missed in r369957.
Modified:
cfe/trunk/test/SemaOpenCLCXX/restricted.cl
Modified: cfe/trunk/test/SemaOpenCLCXX/restricted.cl
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaOpenCLCXX/restricted.cl?rev=369968&r1=369967&r2=369968&view=diff
==============================================================================
--- cfe/trunk/test/SemaOpenCLCXX/restricted.cl (original)
+++ cfe/trunk/test/SemaOpenCLCXX/restricted.cl Mon Aug 26 13:55:43 2019
@@ -31,7 +31,7 @@ B *test_dynamic_cast(B *p) {
// Test storage class qualifiers.
__constant _Thread_local int a = 1;
// expected-error at -1 {{C++ for OpenCL version 1.0 does not support the '_Thread_local' storage class specifier}}
-// expected-warning at -2 {{_Thread_local is a C11-specific feature}}
+// expected-warning at -2 {{_Thread_local is a C11 extension}}
__constant __thread int b = 2;
// expected-error at -1 {{C++ for OpenCL version 1.0 does not support the '__thread' storage class specifier}}
More information about the cfe-commits
mailing list