blob: 9c0c3919794eaf21dbf2c1cc84e80219cbae9ca9 [file] [log] [blame]
Eli Friedman4d26b432009-11-16 23:53:01 +00001// RUN: clang-cc %s -emit-llvm-only -verify
2
3struct A {int a;};
4struct B {float a;};
5struct C {
6 union {
7 A a;
8 B b[10];
9 };
10 _Complex float c;
11 int d[10];
12 void (C::*e)();
13 C() : a(), c(), d(), e() {}
14 C(A x) : a(x) {}
15 C(void (C::*x)(), int y) : b(), c(y), e(x) {}
16};
17A x;
18C a, b(x), c(0, 2);