llvm-for-llvmta/tools/clang/test/CodeGen/static-local-union.c

5 lines
96 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm < %s
int a() {static union{int a;} r[2] = {1,2};return r[1].a;}