1// RUN: %clang_cc1 %s -emit-llvm-only -verify2// expected-no-diagnostics3 4union x {5 int a;6 float b;7 x(float y) : b(y) {}8 x(int y) : a(y) {}9};10x a(1), b(1.0f);11 12