summaryrefslogtreecommitdiff
path: root/test/CodeGen/static-local-union.c
blob: bd32519e43e9edc54ce4b3b40e5d5e0c5a9f626f (plain)
1
2
3
4
// RUN: %clang_cc1 -emit-llvm < %s

int a() {static union{int a;} r[2] = {1,2};return r[1].a;}