[clang] 9a0e0f5 - Fix failing test bot

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 7 07:42:32 PST 2024


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


        


More information about the cfe-commits mailing list