Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
8e8fb3be5bd78f0564444eca02b404566a5f3b5d
/
.
/
test
/
Driver
/
no-objc-arr.m
blob: 21246a37a6afa26f31500582c2736e1627da171a [
file
] [
log
] [
blame
]
// RUN: %clang -Werror -fobjc-arc -fsyntax-only -fno-objc-arc -Xclang -verify %s
// expected-no-diagnostics
// rdar://8949617
void
*
FOO
()
{
id string
=
@
"Hello World.\n"
;
void
*
pointer
=
string
;
// No error must be issued
return
pointer
;
}