9 lines
228 B
Mathematica
9 lines
228 B
Mathematica
|
// RUN: %clang -Werror -fobjc-arc -fsyntax-only -fno-objc-arc -Xclang -verify %s
|
||
|
// rdar://8949617
|
||
|
|
||
|
void * FOO() {
|
||
|
id string = @"Hello World.\n";
|
||
|
void *pointer = string; // No error must be issued
|
||
|
return pointer;
|
||
|
}
|