Oliver Stannard | 7c3c09e | 2014-03-12 14:02:50 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple=armv7-none-eabi < %s -S -emit-llvm | FileCheck %s |
2 | |||||
3 | struct foo { | ||||
4 | long long a; | ||||
5 | char b; | ||||
6 | int c:16; | ||||
7 | int d[16]; | ||||
8 | }; | ||||
9 | |||||
10 | // CHECK: %struct.foo* byval align 8 %z | ||||
11 | long long bar(int a, int b, int c, int d, int e, | ||||
12 | struct foo z) { | ||||
13 | return z.a; | ||||
14 | } |