mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 09:06:07 +00:00

This reverts commit d50eaac12f0cdfe27e942290942b06889ab12a8c. Also fixes a bug calculating offsets for bit fields in the original patch.
12 lines
277 B
C
12 lines
277 B
C
// RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o - %s | FileCheck %s
|
|
|
|
struct et7 {
|
|
float lv7[0];
|
|
char mv7:6;
|
|
} yv7 = {
|
|
{},
|
|
52,
|
|
};
|
|
|
|
// CHECK: @yv7 ={{.*}} global { [0 x float], i8, [3 x i8] } { [0 x float] zeroinitializer, i8 52, [3 x i8] zeroinitializer }
|