Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
df0325110bb07ab62b808c8db8be2f6eee9b3476
/
.
/
test
/
CodeGen
/
string-init.c
blob: b2b10dcf94d432b6dca1a50c52b3053c09d5e3e4 [
file
] [
log
] [
blame
]
// RUN: clang -emit-llvm %s -o %t &&
// RUN: grep 'internal constant \[10 x i8\]' %t &&
// RUN: not grep -F "[5 x i8]" %t &&
// RUN: not grep "store " %t
void
test
(
void
)
{
char
a
[
10
]
=
"asdf"
;
char
b
[
10
]
=
{
"asdf"
};
}