Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -S %s -o %t-64.s |
2 | // RUN: %clang_cc1 -S %s -o %t-32.s | ||||
Fariborz Jahanian | 636a0ff | 2009-09-02 17:10:17 +0000 | [diff] [blame] | 3 | |
4 | extern "C" int printf(...); | ||||
5 | |||||
6 | struct S { | ||||
7 | S() { printf("S::S\n"); } | ||||
8 | }; | ||||
9 | |||||
10 | struct A { | ||||
11 | double x; | ||||
12 | A() : x(), y(), s() { printf("x = %f y = %x \n", x, y); } | ||||
13 | int *y; | ||||
14 | S s; | ||||
15 | }; | ||||
16 | |||||
17 | A a; | ||||
18 | |||||
19 | int main() { | ||||
20 | } |