1 // RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s
7 _Atomic(typeof((int (*)[f()]) h())) v
;
8 // CHECK: [[N:%.*]] = alloca ptr, align 4
9 // CHECK-NEXT: [[P:%.*]] = call i32 @f
10 // CHECK-NEXT: [[P:%.*]] = call i32 @h
14 typeof(typeof((int (*)[f()]) h())) v
;
15 // CHECK: [[N:%.*]] = alloca ptr, align 4
16 // CHECK-NEXT: [[P:%.*]] = call i32 @f
17 // CHECK-NEXT: [[P:%.*]] = call i32 @h
20 void t3(typeof((int (*)[f()]) h()) v
) {
21 // CHECK: store ptr %v, ptr %{{[.0-9A-Za-z]+}}, align 4
22 // CHECK-NEXT: [[P:%.*]] = call i32 @f
23 // CHECK-NEXT: [[P:%.*]] = call i32 @h