mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 03:56:08 +00:00

This reverts commit d50eaac12f0cdfe27e942290942b06889ab12a8c. Also fixes a bug calculating offsets for bit fields in the original patch.
8 lines
247 B
Objective-C
8 lines
247 B
Objective-C
// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s
|
|
|
|
struct overwrite_string_struct {
|
|
char L[3];
|
|
int M;
|
|
} overwrite_string[] = { { { @encode(void**) }, 1 }, [0].L[1] = 'x'};
|
|
// CHECK: [3 x i8] c"^xv", i8 0, i32 1
|