This revision was automatically updated to reflect the committed changes. Closed by commit rGbe646ef39298: Make clang/test/C/C2x/n2934.c compatible with targets that do not support… (authored by fanbo-meng).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D145158/new/ https://reviews.llvm.org/D145158 Files: clang/test/C/C2x/n2934.c Index: clang/test/C/C2x/n2934.c =================================================================== --- clang/test/C/C2x/n2934.c +++ clang/test/C/C2x/n2934.c @@ -7,6 +7,7 @@ thread_local struct alignas(int) S { // c2x-warning {{'alignas' is incompatible with C standards before C2x}} \ c2x-warning {{'thread_local' is incompatible with C standards before C2x}} \ + c2x-error 0+ {{thread-local storage is not supported for the current target}} \ c17-error {{unknown type name 'thread_local'}} \ c17-error {{expected identifier or '('}} \ c17-error {{expected ')'}} \
Index: clang/test/C/C2x/n2934.c =================================================================== --- clang/test/C/C2x/n2934.c +++ clang/test/C/C2x/n2934.c @@ -7,6 +7,7 @@ thread_local struct alignas(int) S { // c2x-warning {{'alignas' is incompatible with C standards before C2x}} \ c2x-warning {{'thread_local' is incompatible with C standards before C2x}} \ + c2x-error 0+ {{thread-local storage is not supported for the current target}} \ c17-error {{unknown type name 'thread_local'}} \ c17-error {{expected identifier or '('}} \ c17-error {{expected ')'}} \
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits