Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
c1dc653b08226c1d8e1732f9d8b03b82869900bc
/
.
/
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"
};
}