summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/builtins.cpp
blob: 568ba5dde12953a06ff88444d7ae9b75ade9572c (about) (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 %s -fsyntax-only -verify
typedef const struct __CFString * CFStringRef;
#define CFSTR __builtin___CFStringMakeConstantString

void f() {
  (void)CFStringRef(CFSTR("Hello"));
}

void a() { __builtin_va_list x, y; ::__builtin_va_copy(x, y); }