hanchenye-llvm-project/clang/test/CodeGen/arm-byval-align.c

15 lines
280 B
C

// RUN: %clang_cc1 -triple=armv7-none-eabi < %s -S -emit-llvm | FileCheck %s
struct foo {
long long a;
char b;
int c:16;
int d[16];
};
// CHECK: %struct.foo* byval align 8 %z
long long bar(int a, int b, int c, int d, int e,
struct foo z) {
return z.a;
}