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 4 void test_extensions(bool a, char b, short c) {} 5 // CHECK: define{{.*}} void @_Z15test_extensionsbcs(i1 noundef %a, i8 noundef %b, i16 noundef %c) 6 // CHECK-DARWIN: define{{.*}} void @_Z15test_extensionsbcs(i1 noundef zeroext %a, i8 noundef signext %b, i16 noundef signext %c) 7 8 struct Empty {}; 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