diff options
Diffstat (limited to 'clang/test/CodeGen/init.c')
| -rw-r--r-- | clang/test/CodeGen/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGen/init.c b/clang/test/CodeGen/init.c index b5396810103..770995f93f3 100644 --- a/clang/test/CodeGen/init.c +++ b/clang/test/CodeGen/init.c @@ -81,6 +81,10 @@ struct Huge { int arr[1000 * 1000 * 1000]; } huge_struct = {1, {2, 0, 0, 0}}; +// CHECK-DAG: @large_array_with_zeroes = constant <{ [21 x i8], [979 x i8] }> <{ [21 x i8] c"abc\01\02\03xyzzy\00\00\00\00\00\00\00\00\00q", [979 x i8] zeroinitializer }> +const char large_array_with_zeroes[1000] = { + 'a', 'b', 'c', 1, 2, 3, 'x', 'y', 'z', 'z', 'y', [20] = 'q' +}; // PR279 comment #3 char test8(int X) { |

