large-array-init.cpp 270 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 // RUN: %clang_cc1 -S -o %t.ll -mllvm -debug-only=exprconstant %s 2>&1 | \ // RUN: FileCheck %s // REQUIRES: asserts struct S { int i; }; static struct S arr[100000000] = {{ 0 }}; // CHECK: The number of elements to initialize: 1. struct S *foo() { return arr; }