| Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -fsyntax-only -verify |
| Anders Carlsson | 79cbc7d | 2009-11-14 21:45:58 +0000 | [diff] [blame] | 2 | typedef const struct __CFString * CFStringRef; |
| 3 | #define CFSTR __builtin___CFStringMakeConstantString | ||||
| 4 | |||||
| 5 | void f() { | ||||
| 6 | (void)CFStringRef(CFSTR("Hello")); | ||||
| Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 7 | } |
| Douglas Gregor | 8591098 | 2010-02-12 05:48:04 +0000 | [diff] [blame] | 8 | |
| 9 | void a() { __builtin_va_list x, y; ::__builtin_va_copy(x, y); } | ||||