1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple=armv7-none-eabi < %s -S -emit-llvm | FileCheck %s
2*0a6a1f1dSLionel Sambuc
3*0a6a1f1dSLionel Sambuc struct foo {
4*0a6a1f1dSLionel Sambuc long long a;
5*0a6a1f1dSLionel Sambuc char b;
6*0a6a1f1dSLionel Sambuc int c:16;
7*0a6a1f1dSLionel Sambuc int d[16];
8*0a6a1f1dSLionel Sambuc };
9*0a6a1f1dSLionel Sambuc
10*0a6a1f1dSLionel Sambuc // CHECK: %struct.foo* byval align 8 %z
bar(int a,int b,int c,int d,int e,struct foo z)11*0a6a1f1dSLionel Sambuc long long bar(int a, int b, int c, int d, int e,
12*0a6a1f1dSLionel Sambuc struct foo z) {
13*0a6a1f1dSLionel Sambuc return z.a;
14*0a6a1f1dSLionel Sambuc }
15