mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-25 22:38:56 -04:00

braces. We now build the appropriate fully-structured initializer list for such things. Per PR3618, verified that we're getting the right code generation. llvm-svn: 67353
9 lines
433 B
C
9 lines
433 B
C
// RUN: clang -triple i386-unknown-unknown -emit-llvm -o - %s | grep 7 | count 1 &&
|
|
// RUN: clang -triple i386-unknown-unknown -emit-llvm -o - %s | grep 11 | count 1 &&
|
|
// RUN: clang -triple i386-unknown-unknown -emit-llvm -o - %s | grep 13 | count 1 &&
|
|
// RUN: clang -triple i386-unknown-unknown -emit-llvm -o - %s | grep 15 | count 1
|
|
|
|
struct { int x; int y[]; } a = { 1, 7, 11 };
|
|
|
|
struct { int x; int y[]; } b = { 1, { 13, 15 } };
|