Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 %s -emit-llvm-only -verify
      2 
      3 union x {
      4   int a;
      5   float b;
      6   x(float y) : b(y) {}
      7   x(int y) : a(y) {}
      8 };
      9 x a(1), b(1.0f);
     10 
     11