trivial-constructor-init.cpp revision 636a0ffbd2bda998236ddc9bb14b9222f7b49359
1// RUN: clang-cc  -S %s -o %t-64.s &&
2// RUN: clang-cc  -S %s -o %t-32.s &&
3// RUN: true
4
5extern "C" int printf(...);
6
7struct S {
8  S() { printf("S::S\n"); }
9};
10
11struct A {
12  double x;
13  A() : x(), y(), s() { printf("x = %f y = %x \n", x, y); }
14  int *y;
15  S s;
16};
17
18A a;
19
20int main() {
21}
22