llvm-project/clang/test/CodeGenCXX/aarch64-arguments.cpp
hstk30-hw 21c1b7845b
fix: C++ empty record with align lead to va_list out of sync (#72197)
Fix AArch64 argument passing for C++ empty classes with large explicitly specified  alignment

reproducer: https://godbolt.org/z/qsze8fqra 
rel issue: https://github.com/llvm/llvm-project/issues/69872 
rel commit: 1711cc930b
2025-11-08 21:52:13 +08:00

6 lines
180 B
C++

// RUN: %clang_cc1 -triple arm64-none-linux -emit-llvm -w -o - %s | FileCheck -check-prefix=PCS %s
// PCS: define{{.*}} void @{{.*}}(i64 %a.coerce)
struct s0 {};
void f0(s0 a) {}