1// RUN: %clang -Werror -fobjc-arc -fsyntax-only -fno-objc-arc -Xclang -verify %s
2// expected-no-diagnostics
3// rdar://8949617
4
5void * FOO() {
6 id string = @"Hello World.\n";
7 void *pointer = string; // No error must be issued
8 return pointer;
9}
10