repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
large-array-init.cpp
blob
ba73428059783d8efbf548ef81fe2f31f8e0c3b6
1
// RUN: %clang_cc1 -S -o %t.ll -mllvm -debug-only=exprconstant %s 2>&1 | \
2
// RUN: FileCheck %s
3
// REQUIRES: asserts
4
5
struct
S
{
int
i
; };
6
7
static struct
S arr
[
100000000
] = {{
0
}};
8
// CHECK: The number of elements to initialize: 1.
9
10
struct
S
*
foo
() {
return
arr
; }