• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 %s -emit-llvm-only -verify
2 
3 struct A {int a;};
4 struct B {float a;};
5 struct C {
6   union {
7     A a;
8     B b[10];
9   };
10   _Complex float c;
11   int d[10];
12   void (C::*e)();
CC13   C() : a(), c(), d(), e() {}
CC14   C(A x) : a(x) {}
CC15   C(void (C::*x)(), int y) : b(), c(y), e(x) {}
16 };
17 A x;
18 C a, b(x), c(0, 2);
19