Sign in
cobalt
/
cobalt
/
01f3c94b226da58e62558a0b863c39a390e6cd8c
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
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
;
}