11 lines
270 B
C++
11 lines
270 B
C++
|
// 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; }
|