1 // RUN: %clang_cc1 -triple arm64-linux-gnu -emit-llvm -o - %s | FileCheck %s
2 // RUN: %clang_cc1 -triple arm64-linux-gnu -emit-llvm -o - %s -target-abi darwinpcs | FileCheck %s --check-prefix=CHECK-DARWIN
3 
test_extensions(bool a,char b,short c)4 void test_extensions(bool a, char b, short c) {}
5 // CHECK: define void @_Z15test_extensionsbcs(i1 %a, i8 %b, i16 %c)
6 // CHECK-DARWIN: define void @_Z15test_extensionsbcs(i1 zeroext %a, i8 signext %b, i16 signext %c)
7 
8 struct Empty {};
test_empty(Empty e)9 void test_empty(Empty e) {}
10 // CHECK: define void @_Z10test_empty5Empty(i8
11 // CHECK-DARWIN: define void @_Z10test_empty5Empty()
12 
13 struct HFA {
14   float a[3];
15 };
16