Author: Aaron Ballman
Date: 2024-11-07T10:41:51-05:00
New Revision: 9a0e0f543e6d491beaf9d64751be21d9afb4c7bb

URL: 
https://github.com/llvm/llvm-project/commit/9a0e0f543e6d491beaf9d64751be21d9afb4c7bb
DIFF: 
https://github.com/llvm/llvm-project/commit/9a0e0f543e6d491beaf9d64751be21d9afb4c7bb.diff

LOG: Fix failing test bot

This addresses the issue found by:
https://lab.llvm.org/buildbot/#/builders/144/builds/11070

Added: 
    

Modified: 
    clang/test/C/C2y/n3344.c

Removed: 
    


################################################################################
diff  --git a/clang/test/C/C2y/n3344.c b/clang/test/C/C2y/n3344.c
index bd3d440cb5d12a..b9c291d9f1dfa1 100644
--- a/clang/test/C/C2y/n3344.c
+++ b/clang/test/C/C2y/n3344.c
@@ -23,6 +23,8 @@ void quubble(extern void);       // expected-error {{invalid 
storage class speci
 #if __STDC_VERSION__ >= 202311L
 void quibble(constexpr void);    // expected-error {{function parameter cannot 
be constexpr}}
 #endif
+#if __STDC_VERSION__ >= 201112L
 void quabble(_Thread_local void); // expected-error {{'_Thread_local' is only 
allowed on variable declarations}}
+#endif
 void bing(void, ...);            // expected-error {{'void' must be the first 
and only parameter if specified}}
 


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to