1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fdebugger-support %s -emit-llvm -o - | FileCheck %s
4 struct A { int w, x, y, z; };
5 struct A result = (struct A) [x makeStruct];
6 // CHECK: define{{.*}} void @test0(
7 // CHECK: [[X:%.*]] = alloca ptr, align 8
8 // CHECK-NEXT: [[RESULT:%.*]] = alloca [[A:%.*]], align 4
9 // CHECK-NEXT: store ptr {{%.*}}, ptr [[X]],
10 // CHECK-NEXT: [[T0:%.*]] = load ptr, ptr [[X]],
11 // CHECK-NEXT: [[T1:%.*]] = load ptr, ptr @OBJC_SELECTOR_REFERENCES_
12 // CHECK-NEXT: [[T2:%.*]] = call { i64, i64 } @objc_msgSend(ptr noundef [[T0]], ptr noundef [[T1]])