Chris Lattner | 22fd4ba | 2010-08-25 23:39:14 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s| FileCheck %s |
Chris Lattner | a8b7a7d | 2010-08-26 06:28:35 +0000 | [diff] [blame] | 2 | #include <stdarg.h> |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 3 | |
Daniel Dunbar | 0aa1cba | 2010-04-21 19:10:54 +0000 | [diff] [blame] | 4 | // CHECK: define signext i8 @f0() |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 5 | char f0(void) { |
Mike Stump | c36541e | 2009-07-21 20:52:43 +0000 | [diff] [blame] | 6 | return 0; |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 7 | } |
| 8 | |
Daniel Dunbar | 0aa1cba | 2010-04-21 19:10:54 +0000 | [diff] [blame] | 9 | // CHECK: define signext i16 @f1() |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 10 | short f1(void) { |
Mike Stump | c36541e | 2009-07-21 20:52:43 +0000 | [diff] [blame] | 11 | return 0; |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 12 | } |
| 13 | |
Daniel Dunbar | 0aa1cba | 2010-04-21 19:10:54 +0000 | [diff] [blame] | 14 | // CHECK: define i32 @f2() |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 15 | int f2(void) { |
Mike Stump | c36541e | 2009-07-21 20:52:43 +0000 | [diff] [blame] | 16 | return 0; |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 17 | } |
| 18 | |
Daniel Dunbar | 0aa1cba | 2010-04-21 19:10:54 +0000 | [diff] [blame] | 19 | // CHECK: define float @f3() |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 20 | float f3(void) { |
Mike Stump | c36541e | 2009-07-21 20:52:43 +0000 | [diff] [blame] | 21 | return 0; |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 22 | } |
| 23 | |
Daniel Dunbar | 0aa1cba | 2010-04-21 19:10:54 +0000 | [diff] [blame] | 24 | // CHECK: define double @f4() |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 25 | double f4(void) { |
Mike Stump | c36541e | 2009-07-21 20:52:43 +0000 | [diff] [blame] | 26 | return 0; |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 27 | } |
| 28 | |
Daniel Dunbar | 0aa1cba | 2010-04-21 19:10:54 +0000 | [diff] [blame] | 29 | // CHECK: define x86_fp80 @f5() |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 30 | long double f5(void) { |
Mike Stump | c36541e | 2009-07-21 20:52:43 +0000 | [diff] [blame] | 31 | return 0; |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 32 | } |
| 33 | |
Daniel Dunbar | 0aa1cba | 2010-04-21 19:10:54 +0000 | [diff] [blame] | 34 | // CHECK: define void @f6(i8 signext %a0, i16 signext %a1, i32 %a2, i64 %a3, i8* %a4) |
Daniel Dunbar | 644f4c3 | 2009-02-14 02:09:24 +0000 | [diff] [blame] | 35 | void f6(char a0, short a1, int a2, long long a3, void *a4) { |
| 36 | } |
Anders Carlsson | 730f909 | 2009-02-26 17:38:19 +0000 | [diff] [blame] | 37 | |
Daniel Dunbar | 0aa1cba | 2010-04-21 19:10:54 +0000 | [diff] [blame] | 38 | // CHECK: define void @f7(i32 %a0) |
| 39 | typedef enum { A, B, C } e7; |
| 40 | void f7(e7 a0) { |
Mike Stump | 4b87142 | 2009-02-26 19:00:14 +0000 | [diff] [blame] | 41 | } |
Daniel Dunbar | 100f402 | 2009-03-06 17:50:25 +0000 | [diff] [blame] | 42 | |
| 43 | // Test merging/passing of upper eightbyte with X87 class. |
Daniel Dunbar | 0aa1cba | 2010-04-21 19:10:54 +0000 | [diff] [blame] | 44 | // |
Chris Lattner | 9cbe4f0 | 2011-07-09 17:41:47 +0000 | [diff] [blame] | 45 | // CHECK: define void @f8_1(%union.u8* sret %agg.result) |
| 46 | // CHECK: define void @f8_2(%union.u8* byval align 16 %a0) |
Daniel Dunbar | 100f402 | 2009-03-06 17:50:25 +0000 | [diff] [blame] | 47 | union u8 { |
| 48 | long double a; |
| 49 | int b; |
| 50 | }; |
Mike Stump | c36541e | 2009-07-21 20:52:43 +0000 | [diff] [blame] | 51 | union u8 f8_1() { while (1) {} } |
Daniel Dunbar | 100f402 | 2009-03-06 17:50:25 +0000 | [diff] [blame] | 52 | void f8_2(union u8 a0) {} |
Daniel Dunbar | 8236bf1 | 2009-05-08 22:26:44 +0000 | [diff] [blame] | 53 | |
Daniel Dunbar | 0aa1cba | 2010-04-21 19:10:54 +0000 | [diff] [blame] | 54 | // CHECK: define i64 @f9() |
Mike Stump | c36541e | 2009-07-21 20:52:43 +0000 | [diff] [blame] | 55 | struct s9 { int a; int b; int : 0; } f9(void) { while (1) {} } |
Daniel Dunbar | 8236bf1 | 2009-05-08 22:26:44 +0000 | [diff] [blame] | 56 | |
Chris Lattner | 225e286 | 2010-06-29 00:14:52 +0000 | [diff] [blame] | 57 | // CHECK: define void @f10(i64 %a0.coerce) |
Daniel Dunbar | 8236bf1 | 2009-05-08 22:26:44 +0000 | [diff] [blame] | 58 | struct s10 { int a; int b; int : 0; }; |
| 59 | void f10(struct s10 a0) {} |
| 60 | |
Chris Lattner | cd87d1e | 2011-07-12 05:53:08 +0000 | [diff] [blame] | 61 | // CHECK: define void @f11(%union.anon* sret %agg.result) |
Mike Stump | c36541e | 2009-07-21 20:52:43 +0000 | [diff] [blame] | 62 | union { long double a; float b; } f11() { while (1) {} } |
Daniel Dunbar | 20e95c5 | 2009-05-12 15:22:40 +0000 | [diff] [blame] | 63 | |
Chris Lattner | e2962be | 2010-07-29 07:30:00 +0000 | [diff] [blame] | 64 | // CHECK: define i32 @f12_0() |
| 65 | // CHECK: define void @f12_1(i32 %a0.coerce) |
Daniel Dunbar | 7ef455b | 2009-05-13 18:54:26 +0000 | [diff] [blame] | 66 | struct s12 { int a __attribute__((aligned(16))); }; |
Mike Stump | c36541e | 2009-07-21 20:52:43 +0000 | [diff] [blame] | 67 | struct s12 f12_0(void) { while (1) {} } |
Daniel Dunbar | 7ef455b | 2009-05-13 18:54:26 +0000 | [diff] [blame] | 68 | void f12_1(struct s12 a0) {} |
| 69 | |
Daniel Dunbar | 3a5f5c5 | 2009-05-22 17:33:44 +0000 | [diff] [blame] | 70 | // Check that sret parameter is accounted for when checking available integer |
| 71 | // registers. |
Chris Lattner | 855d227 | 2011-05-22 23:21:23 +0000 | [diff] [blame] | 72 | // CHECK: define void @f13(%struct.s13_0* sret %agg.result, i32 %a, i32 %b, i32 %c, i32 %d, {{.*}}* byval align 8 %e, i32 %f) |
Daniel Dunbar | 3a5f5c5 | 2009-05-22 17:33:44 +0000 | [diff] [blame] | 73 | |
| 74 | struct s13_0 { long long f0[3]; }; |
Daniel Dunbar | 55a759b | 2009-08-23 19:28:59 +0000 | [diff] [blame] | 75 | struct s13_1 { long long f0[2]; }; |
Daniel Dunbar | 0aa1cba | 2010-04-21 19:10:54 +0000 | [diff] [blame] | 76 | struct s13_0 f13(int a, int b, int c, int d, |
Daniel Dunbar | 55a759b | 2009-08-23 19:28:59 +0000 | [diff] [blame] | 77 | struct s13_1 e, int f) { while (1) {} } |
Daniel Dunbar | 3a5f5c5 | 2009-05-22 17:33:44 +0000 | [diff] [blame] | 78 | |
Daniel Dunbar | 0aa1cba | 2010-04-21 19:10:54 +0000 | [diff] [blame] | 79 | // CHECK: define void @f14({{.*}}, i8 signext %X) |
| 80 | void f14(int a, int b, int c, int d, int e, int f, char X) {} |
| 81 | |
| 82 | // CHECK: define void @f15({{.*}}, i8* %X) |
| 83 | void f15(int a, int b, int c, int d, int e, int f, void *X) {} |
| 84 | |
| 85 | // CHECK: define void @f16({{.*}}, float %X) |
Daniel Dunbar | 86e13ee | 2009-05-26 16:37:37 +0000 | [diff] [blame] | 86 | void f16(float a, float b, float c, float d, float e, float f, float g, float h, |
| 87 | float X) {} |
Daniel Dunbar | 0aa1cba | 2010-04-21 19:10:54 +0000 | [diff] [blame] | 88 | |
| 89 | // CHECK: define void @f17({{.*}}, x86_fp80 %X) |
Daniel Dunbar | 86e13ee | 2009-05-26 16:37:37 +0000 | [diff] [blame] | 90 | void f17(float a, float b, float c, float d, float e, float f, float g, float h, |
| 91 | long double X) {} |
| 92 | |
Chris Lattner | faf23b7 | 2010-06-28 19:56:59 +0000 | [diff] [blame] | 93 | // Check for valid coercion. The struct should be passed/returned as i32, not |
| 94 | // as i64 for better code quality. |
| 95 | // rdar://8135035 |
Chris Lattner | 225e286 | 2010-06-29 00:14:52 +0000 | [diff] [blame] | 96 | // CHECK: define void @f18(i32 %a, i32 %f18_arg1.coerce) |
Daniel Dunbar | 55a759b | 2009-08-23 19:28:59 +0000 | [diff] [blame] | 97 | struct f18_s0 { int f0; }; |
| 98 | void f18(int a, struct f18_s0 f18_arg1) { while (1) {} } |
Daniel Dunbar | fdf4986 | 2009-06-05 07:58:54 +0000 | [diff] [blame] | 99 | |
Daniel Dunbar | 46c54fb | 2010-04-21 19:49:55 +0000 | [diff] [blame] | 100 | // Check byval alignment. |
| 101 | |
| 102 | // CHECK: define void @f19(%struct.s19* byval align 16 %x) |
| 103 | struct s19 { |
| 104 | long double a; |
| 105 | }; |
| 106 | void f19(struct s19 x) {} |
| 107 | |
| 108 | // CHECK: define void @f20(%struct.s20* byval align 32 %x) |
| 109 | struct __attribute__((aligned(32))) s20 { |
| 110 | int x; |
| 111 | int y; |
| 112 | }; |
| 113 | void f20(struct s20 x) {} |
Chris Lattner | 9c254f0 | 2010-06-29 06:01:59 +0000 | [diff] [blame] | 114 | |
| 115 | struct StringRef { |
| 116 | long x; |
| 117 | const char *Ptr; |
| 118 | }; |
| 119 | |
| 120 | // rdar://7375902 |
| 121 | // CHECK: define i8* @f21(i64 %S.coerce0, i8* %S.coerce1) |
| 122 | const char *f21(struct StringRef S) { return S.x+S.Ptr; } |
| 123 | |
Chris Lattner | 121b3fa | 2010-07-05 20:21:00 +0000 | [diff] [blame] | 124 | // PR7567 |
| 125 | typedef __attribute__ ((aligned(16))) struct f22s { unsigned long long x[2]; } L; |
| 126 | void f22(L x, L y) { } |
| 127 | // CHECK: @f22 |
| 128 | // CHECK: %x = alloca{{.*}}, align 16 |
| 129 | // CHECK: %y = alloca{{.*}}, align 16 |
| 130 | |
| 131 | |
Chris Lattner | 1daf808 | 2010-07-28 22:15:08 +0000 | [diff] [blame] | 132 | |
| 133 | // PR7714 |
| 134 | struct f23S { |
| 135 | short f0; |
| 136 | unsigned f1; |
| 137 | int f2; |
| 138 | }; |
| 139 | |
Chris Lattner | 519f68c | 2010-07-28 23:06:14 +0000 | [diff] [blame] | 140 | |
Chris Lattner | 1daf808 | 2010-07-28 22:15:08 +0000 | [diff] [blame] | 141 | void f23(int A, struct f23S B) { |
| 142 | // CHECK: define void @f23(i32 %A, i64 %B.coerce0, i32 %B.coerce1) |
| 143 | } |
| 144 | |
Chris Lattner | 519f68c | 2010-07-28 23:06:14 +0000 | [diff] [blame] | 145 | struct f24s { long a; int b; }; |
Chris Lattner | 1daf808 | 2010-07-28 22:15:08 +0000 | [diff] [blame] | 146 | |
Chris Lattner | 519f68c | 2010-07-28 23:06:14 +0000 | [diff] [blame] | 147 | struct f23S f24(struct f23S *X, struct f24s *P2) { |
| 148 | return *X; |
| 149 | |
Chris Lattner | 9cbe4f0 | 2011-07-09 17:41:47 +0000 | [diff] [blame] | 150 | // CHECK: define { i64, i32 } @f24(%struct.f23S* %X, %struct.f24s* %P2) |
Chris Lattner | 519f68c | 2010-07-28 23:06:14 +0000 | [diff] [blame] | 151 | } |
Chris Lattner | 1daf808 | 2010-07-28 22:15:08 +0000 | [diff] [blame] | 152 | |
Chris Lattner | 800588f | 2010-07-29 06:26:06 +0000 | [diff] [blame] | 153 | // rdar://8248065 |
Chris Lattner | ab5722e | 2010-07-28 23:47:21 +0000 | [diff] [blame] | 154 | typedef float v4f32 __attribute__((__vector_size__(16))); |
Chris Lattner | ab5722e | 2010-07-28 23:47:21 +0000 | [diff] [blame] | 155 | v4f32 f25(v4f32 X) { |
Chris Lattner | 800588f | 2010-07-29 06:26:06 +0000 | [diff] [blame] | 156 | // CHECK: define <4 x float> @f25(<4 x float> %X) |
| 157 | // CHECK-NOT: alloca |
Chris Lattner | c10ab19 | 2010-07-29 17:14:05 +0000 | [diff] [blame] | 158 | // CHECK: alloca <4 x float> |
Chris Lattner | 800588f | 2010-07-29 06:26:06 +0000 | [diff] [blame] | 159 | // CHECK-NOT: alloca |
Chris Lattner | c10ab19 | 2010-07-29 17:14:05 +0000 | [diff] [blame] | 160 | // CHECK: store <4 x float> %X, <4 x float>* |
Chris Lattner | 800588f | 2010-07-29 06:26:06 +0000 | [diff] [blame] | 161 | // CHECK-NOT: store |
| 162 | // CHECK: ret <4 x float> |
Chris Lattner | ab5722e | 2010-07-28 23:47:21 +0000 | [diff] [blame] | 163 | return X+X; |
| 164 | } |
| 165 | |
Chris Lattner | 4711cb0 | 2010-07-29 04:46:19 +0000 | [diff] [blame] | 166 | struct foo26 { |
| 167 | int *X; |
| 168 | float *Y; |
| 169 | }; |
Chris Lattner | ab5722e | 2010-07-28 23:47:21 +0000 | [diff] [blame] | 170 | |
Chris Lattner | 4711cb0 | 2010-07-29 04:46:19 +0000 | [diff] [blame] | 171 | struct foo26 f26(struct foo26 *P) { |
Chris Lattner | 9cbe4f0 | 2011-07-09 17:41:47 +0000 | [diff] [blame] | 172 | // CHECK: define { i32*, float* } @f26(%struct.foo26* %P) |
Chris Lattner | 4711cb0 | 2010-07-29 04:46:19 +0000 | [diff] [blame] | 173 | return *P; |
| 174 | } |
Chris Lattner | 15842bd | 2010-07-29 05:02:29 +0000 | [diff] [blame] | 175 | |
| 176 | |
| 177 | struct v4f32wrapper { |
| 178 | v4f32 v; |
| 179 | }; |
| 180 | |
| 181 | struct v4f32wrapper f27(struct v4f32wrapper X) { |
| 182 | // CHECK: define <4 x float> @f27(<4 x float> %X.coerce) |
| 183 | return X; |
Chris Lattner | e2962be | 2010-07-29 07:30:00 +0000 | [diff] [blame] | 184 | } |
| 185 | |
| 186 | // rdar://5711709 |
| 187 | struct f28c { |
| 188 | double x; |
| 189 | int y; |
| 190 | }; |
| 191 | void f28(struct f28c C) { |
| 192 | // CHECK: define void @f28(double %C.coerce0, i32 %C.coerce1) |
| 193 | } |
| 194 | |
Chris Lattner | 021c3a3 | 2010-07-29 07:43:55 +0000 | [diff] [blame] | 195 | struct f29a { |
| 196 | struct c { |
| 197 | double x; |
| 198 | int y; |
| 199 | } x[1]; |
| 200 | }; |
| 201 | |
| 202 | void f29a(struct f29a A) { |
| 203 | // CHECK: define void @f29a(double %A.coerce0, i32 %A.coerce1) |
| 204 | } |
Chris Lattner | 9e45a3d | 2010-07-29 17:34:39 +0000 | [diff] [blame] | 205 | |
| 206 | // rdar://8249586 |
| 207 | struct S0 { char f0[8]; char f2; char f3; char f4; }; |
| 208 | void f30(struct S0 p_4) { |
| 209 | // CHECK: define void @f30(i64 %p_4.coerce0, i24 %p_4.coerce1) |
| 210 | } |
Chris Lattner | f47c944 | 2010-07-29 18:13:09 +0000 | [diff] [blame] | 211 | |
| 212 | // Pass the third element as a float when followed by tail padding. |
| 213 | // rdar://8251384 |
| 214 | struct f31foo { float a, b, c; }; |
| 215 | float f31(struct f31foo X) { |
Chris Lattner | 22fd4ba | 2010-08-25 23:39:14 +0000 | [diff] [blame] | 216 | // CHECK: define float @f31(<2 x float> %X.coerce0, float %X.coerce1) |
Chris Lattner | f47c944 | 2010-07-29 18:13:09 +0000 | [diff] [blame] | 217 | return X.c; |
| 218 | } |
| 219 | |
Chris Lattner | 22fd4ba | 2010-08-25 23:39:14 +0000 | [diff] [blame] | 220 | _Complex float f32(_Complex float A, _Complex float B) { |
| 221 | // rdar://6379669 |
| 222 | // CHECK: define <2 x float> @f32(<2 x float> %A.coerce, <2 x float> %B.coerce) |
| 223 | return A+B; |
| 224 | } |
| 225 | |
Chris Lattner | f47c944 | 2010-07-29 18:13:09 +0000 | [diff] [blame] | 226 | |
Chris Lattner | a8b7a7d | 2010-08-26 06:28:35 +0000 | [diff] [blame] | 227 | // rdar://8357396 |
| 228 | struct f33s { long x; float c,d; }; |
| 229 | |
| 230 | void f33(va_list X) { |
| 231 | va_arg(X, struct f33s); |
| 232 | } |
| 233 | |
Chris Lattner | 473f8e7 | 2010-08-26 18:03:20 +0000 | [diff] [blame] | 234 | typedef unsigned long long v1i64 __attribute__((__vector_size__(8))); |
| 235 | |
| 236 | // rdar://8359248 |
| 237 | // CHECK: define i64 @f34(i64 %arg.coerce) |
| 238 | v1i64 f34(v1i64 arg) { return arg; } |
Chris Lattner | a8b7a7d | 2010-08-26 06:28:35 +0000 | [diff] [blame] | 239 | |
Chris Lattner | 0fefa41 | 2010-08-26 18:13:50 +0000 | [diff] [blame] | 240 | |
| 241 | // rdar://8358475 |
| 242 | // CHECK: define i64 @f35(i64 %arg.coerce) |
| 243 | typedef unsigned long v1i64_2 __attribute__((__vector_size__(8))); |
| 244 | v1i64_2 f35(v1i64_2 arg) { return arg+arg; } |
| 245 | |
John McCall | 67a5773 | 2011-04-21 01:20:55 +0000 | [diff] [blame] | 246 | // rdar://9122143 |
| 247 | // CHECK: declare void @func(%struct._str* byval align 16) |
| 248 | typedef struct _str { |
| 249 | union { |
| 250 | long double a; |
| 251 | long c; |
| 252 | }; |
| 253 | } str; |
| 254 | |
| 255 | void func(str s); |
| 256 | str ss; |
| 257 | void f9122143() |
| 258 | { |
| 259 | func(ss); |
| 260 | } |
| 261 | |
Eli Friedman | 14508ff | 2011-07-02 00:57:27 +0000 | [diff] [blame] | 262 | // CHECK: define double @f36(double %arg.coerce) |
| 263 | typedef unsigned v2i32 __attribute((__vector_size__(8))); |
| 264 | v2i32 f36(v2i32 arg) { return arg; } |
Bruno Cardoso Lopes | 4943c15 | 2011-07-11 22:41:29 +0000 | [diff] [blame] | 265 | |
| 266 | // CHECK: declare void @f38(<8 x float>) |
| 267 | // CHECK: declare void @f37(<8 x float>) |
| 268 | typedef float __m256 __attribute__ ((__vector_size__ (32))); |
| 269 | typedef struct { |
| 270 | __m256 m; |
| 271 | } s256; |
| 272 | |
| 273 | s256 x38; |
| 274 | __m256 x37; |
| 275 | |
| 276 | void f38(s256 x); |
| 277 | void f37(__m256 x); |
| 278 | void f39() { f38(x38); f37(x37); } |
| 279 | |
Bruno Cardoso Lopes | 089d892 | 2011-07-12 01:27:38 +0000 | [diff] [blame] | 280 | // The two next tests make sure that the struct below is passed |
| 281 | // in the same way regardless of avx being used |
| 282 | |
Bruno Cardoso Lopes | b8981df | 2011-07-13 21:58:55 +0000 | [diff] [blame] | 283 | // CHECK: declare void @func40(%struct.t128* byval align 16) |
Bruno Cardoso Lopes | 4943c15 | 2011-07-11 22:41:29 +0000 | [diff] [blame] | 284 | typedef float __m128 __attribute__ ((__vector_size__ (16))); |
Bruno Cardoso Lopes | ccafadb | 2011-07-12 00:30:27 +0000 | [diff] [blame] | 285 | typedef struct t128 { |
Bruno Cardoso Lopes | 4943c15 | 2011-07-11 22:41:29 +0000 | [diff] [blame] | 286 | __m128 m; |
| 287 | __m128 n; |
| 288 | } two128; |
| 289 | |
| 290 | extern void func40(two128 s); |
| 291 | void func41(two128 s) { |
| 292 | func40(s); |
| 293 | } |
| 294 | |
Bruno Cardoso Lopes | b8981df | 2011-07-13 21:58:55 +0000 | [diff] [blame] | 295 | // CHECK: declare void @func42(%struct.t128_2* byval align 16) |
Bruno Cardoso Lopes | 089d892 | 2011-07-12 01:27:38 +0000 | [diff] [blame] | 296 | typedef struct xxx { |
| 297 | __m128 array[2]; |
| 298 | } Atwo128; |
| 299 | typedef struct t128_2 { |
| 300 | Atwo128 x; |
| 301 | } SA; |
| 302 | |
| 303 | extern void func42(SA s); |
| 304 | void func43(SA s) { |
| 305 | func42(s); |
| 306 | } |