aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/designated-initializers.m
blob: a67f82e1afbea84d8887baa69ecc50f5610e8a66 (plain)
1
2
3
4
5
6
7
// 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", i32 1