Author: Aaron Ballman
Date: 2022-10-24T15:19:41-04:00
New Revision: 5635f005f91c3a4a07361f6d70d16fc13768279e

URL: 
https://github.com/llvm/llvm-project/commit/5635f005f91c3a4a07361f6d70d16fc13768279e
DIFF: 
https://github.com/llvm/llvm-project/commit/5635f005f91c3a4a07361f6d70d16fc13768279e.diff

LOG: Fix failing test case

This amends f43ef6b2dced4c5fa4fa7676142d9a20f7dbe733 with some warnings
that got dropped before I commit the test.

Added: 
    

Modified: 
    clang/test/C/drs/dr3xx.c

Removed: 
    


################################################################################
diff  --git a/clang/test/C/drs/dr3xx.c b/clang/test/C/drs/dr3xx.c
index 5d7b104d8fcb..61b8a163f0c0 100644
--- a/clang/test/C/drs/dr3xx.c
+++ b/clang/test/C/drs/dr3xx.c
@@ -227,4 +227,7 @@ void dr335(void) {
  * modified type at file scope, as we would do for a file scope variable.
  */
 extern int dr339_v;
-void *dr339 = &(int (*)[dr339_v]){ 0 };
+void *dr339 = &(int (*)[dr339_v]){ 0 }; /* c89only-warning {{variable length 
arrays are a C99 feature}}
+                                           c99andup-warning {{variable length 
array used}}
+                                           c89only-warning {{compound literals 
are a C99-specific feature}}
+                                         */


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

Reply via email to