opnsense-src/test/CodeGen/static-local-union.c

5 lines
96 B
C
Raw Normal View History

2010-01-01 05:34:51 -05:00
// RUN: %clang_cc1 -emit-llvm < %s
2009-06-02 13:58:47 -04:00
int a() {static union{int a;} r[2] = {1,2};return r[1].a;}