llvm/clang/test/Driver/no-objc-arr.m

// RUN: %clang  -Werror -fobjc-arc -fsyntax-only -fno-objc-arc -Xclang -verify %s
// expected-no-diagnostics

void * FOO(void) {
    id string = @"Hello World.\n";
    void *pointer = string; // No error must be issued
    return pointer;
}