Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6
/
.
/
test
/
CodeGen
/
string-init.c
blob: 38c7ec05759799f463d817df38020a4e5f7cb657 [
file
] [
log
] [
blame
]
// RUN: clang-cc -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"
};
}