1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -std=c++11 -verify %s 2*0a6a1f1dSLionel Sambuc 3*0a6a1f1dSLionel Sambuc union U { 4*0a6a1f1dSLionel Sambuc int x = 0; // expected-note {{previous initialization is here}} 5*0a6a1f1dSLionel Sambuc union {}; 6*0a6a1f1dSLionel Sambuc union { 7*0a6a1f1dSLionel Sambuc int z; 8*0a6a1f1dSLionel Sambuc int y = 1; // expected-error {{initializing multiple members of union}} 9*0a6a1f1dSLionel Sambuc }; 10*0a6a1f1dSLionel Sambuc }; 11