blob: 6070278bb134e9f6905b8dffa2a0bdbbe3bbc828 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -verify -fsyntax-only
Steve Naroffb59212a2009-04-01 21:16:31 +00002@class NSString;
3extern void NSLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
4
5int main() {
6 NSLog(@"Hi…");
7 NSLog(@"Exposé");
Steve Narofffaa435a2009-04-01 21:27:56 +00008 NSLog(@"\U00010400\U0001D12B");
Steve Naroff2d066122009-04-03 01:25:18 +00009 NSLog(@"hello \u2192 \u2603 \u2190 world");
10 NSLog(@"hello → ☃ ← world");
Steve Naroffb59212a2009-04-01 21:16:31 +000011 return 0;
12}
13