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