[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / CodeGenCXX / arm64-darwinpcs.cpp
bloba0b0d9efdd4c4f751924eee2132dba346df98424
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
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)
8 struct Empty {};
9 void test_empty(Empty e) {}
10 // CHECK: define{{.*}} void @_Z10test_empty5Empty(i8
11 // CHECK-DARWIN: define{{.*}} void @_Z10test_empty5Empty()
13 struct HFA {
14 float a[3];