[clang] 4480f26 - Fix failing test case for _Countof
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 27 11:08:05 PDT 2025
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(
More information about the cfe-commits
mailing list