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