blob: 334d5fd1f1c49f03b4ed6c5d686bfac1d5a2ae4d [file] [log] [blame]
// RUN: clang-cc %s -emit-llvm-only -verify
union x {
int a;
float b;
x(float y) : b(y) {}
x(int y) : a(y) {}
};
x a(1), b(1.0f);