blob: 21246a37a6afa26f31500582c2736e1627da171a (
plain)
1
2
3
4
5
6
7
8
9
|
// 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;
}
|