// RUN: %clang_cc1 %s -emit-llvm -o -
// Test anonymous union with members of the same size.
inttest1(floatF){union{float G;int i;};
G = F;return i;}// test anonymous union with members of differing size.
inttest2(shortF){volatileunion{short G;int i;};
G = F;return i;}// Make sure that normal unions work. duh :)
volatileunionU_t{short S;int i;} U;inttest3(shorts){
U.S= s;return U.i;}