mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 12:15:46 +00:00
d3a5918742
::__builtin_va_copy Fixes one of the Firefox issues in PR5511. llvm-svn: 95966
10 lines
260 B
C++
10 lines
260 B
C++
// 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); }
|