This fix just makes sure to construct the global with the appropriate type, and fixes up the one user this affects to compensate. llvm-svn: 52084
5 lines
91 B
C
5 lines
91 B
C
// RUN: clang -emit-llvm < %s
|
|
|
|
int a() {static union{int a;} r[2] = {1,2};return r[1].a;}
|
|
|