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