Author: Aaron Ballman
Date: 2025-03-27T14:07:57-04:00
New Revision: 4480f26e939304f5aa659b72fe16746dfe96601e

URL: 
https://github.com/llvm/llvm-project/commit/4480f26e939304f5aa659b72fe16746dfe96601e
DIFF: 
https://github.com/llvm/llvm-project/commit/4480f26e939304f5aa659b72fe16746dfe96601e.diff

LOG: Fix failing test case for _Countof

Test just needs an explicit triple that was missed.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang/test/C/C2y/n3369_2.c b/clang/test/C/C2y/n3369_2.c
index 867a755eb27f6..0cbf362d38d4e 100644
--- a/clang/test/C/C2y/n3369_2.c
+++ b/clang/test/C/C2y/n3369_2.c
@@ -1,5 +1,5 @@
 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py 
UTC_ARGS: --version 5
-// RUN: %clang_cc1 -std=c2y -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -std=c2y -triple x86_64-unknown-unknown -emit-llvm -o - %s 
| FileCheck %s
 
 // This tests the codegen behavior for _Countof.
 // CHECK-LABEL: define dso_local i32 @test1(


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

Reply via email to