Steve Naroff | b59212a | 2009-04-01 21:16:31 +0000 | [diff] [blame^] | 1 | // RUN: clang %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 | // FIXME: the following 2 are still not working (will investigate). | ||||
9 | //NSLog(@"hello \u2192 \u2603 \u2190 world"); | ||||
10 | //NSLog(@"\U00010400\U0001D12B"); | ||||
11 | return 0; | ||||
12 | } | ||||
13 |