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;
}