1 // RUN: %clang_cc1 -w -triple i386-pc-win32 -emit-llvm -o - %s | FileCheck %s
3 // CHECK: define i64 @f1_1()
4 // CHECK: define void @f1_2(%struct.s1* byval align 4 %a0)
9 struct s1 f1_1(void) { while (1) {} }
10 void f1_2(struct s1 a0) {}
12 // CHECK: define i32 @f2_1()
17 struct s2 f2_1(void) { while (1) {} }
19 // CHECK: define i16 @f3_1()
24 struct s3 f3_1(void) { while (1) {} }
26 // CHECK: define i8 @f4_1()
31 struct s4 f4_1(void) { while (1) {} }
33 // CHECK: define i64 @f5_1()
34 // CHECK: define void @f5_2(%struct.s5* byval align 4)
38 struct s5 f5_1(void) { while (1) {} }
39 void f5_2(struct s5 a0) {}
41 // CHECK: define i32 @f6_1()
42 // CHECK: define void @f6_2(%struct.s6* byval align 4 %a0)
46 struct s6 f6_1(void) { while (1) {} }
47 void f6_2(struct s6 a0) {}