Home | History | Annotate | Download | only in SemaObjC
      1 // RUN: %clang_cc1 %s -verify -fsyntax-only
      2 // expected-no-diagnostics
      3 @class NSString;
      4 extern void NSLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
      5 
      6 int main() {
      7   NSLog(@"Hi");
      8   NSLog(@"Expos");
      9   NSLog(@"\U00010400\U0001D12B");
     10   NSLog(@"hello \u2192 \u2603 \u2190 world");
     11   NSLog(@"hello    world");
     12   return 0;
     13 }
     14 
     15