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