[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / CodeGenCXX / arm64-constructor-return.cpp
blobec842cbd2bbfb99207819a3e7ac3ca844ffe6f85
1 // RUN: %clang_cc1 %s -triple=arm64-apple-ios7.0.0 -emit-llvm -o - | FileCheck %s
3 struct S {
4 S();
5 int iField;
6 };
8 S::S() {
9 iField = 1;
12 // CHECK: ptr @_ZN1SC2Ev(ptr {{[^,]*}} %this)
14 // CHECK: ptr @_ZN1SC1Ev(ptr {{[^,]*}} returned align 4 dereferenceable(4) %this)
15 // CHECK: [[THISADDR:%[a-zA-Z0-9.]+]] = alloca ptr
16 // CHECK: store ptr %this, ptr [[THISADDR]]
17 // CHECK: [[THIS1:%.*]] = load ptr, ptr [[THISADDR]]
18 // CHECK: ret ptr [[THIS1]]