2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 %s -verify -fsyntax-only
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2009-04-02 05:16:31 +08:00
|
|
|
@class NSString;
|
|
|
|
extern void NSLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
NSLog(@"Hi…");
|
|
|
|
NSLog(@"Exposé");
|
2009-04-02 05:27:56 +08:00
|
|
|
NSLog(@"\U00010400\U0001D12B");
|
2009-04-03 09:25:18 +08:00
|
|
|
NSLog(@"hello \u2192 \u2603 \u2190 world");
|
|
|
|
NSLog(@"hello → ☃ ← world");
|
2009-04-02 05:16:31 +08:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|