// RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-apple-darwin10 -funknown-anytype -emit-llvm -o %t %s
// RUN: FileCheck -check-prefix COMMON %s < %t
// RUN: FileCheck -check-prefix X86_64 %s < %t
// RUN: %clang_cc1 -no-opaque-pointers -triple i386-apple-darwin10 -funknown-anytype -emit-llvm -o %t %s
// RUN: FileCheck -check-prefix COMMON %s < %t
// RUN: FileCheck -check-prefix I386 %s < %t
// x86-64 is the special case here because of its variadic convention.
// We want to ensure that it always uses a variadic convention even if
// other platforms do not.
// rdar://13731520
int
int
extern "C" __unknown_anytype ;
float
extern "C" __unknown_anytype ;
float
float
extern "C" __unknown_anytype ;
void
extern "C" __unknown_anytype ;
long
;
extern "C" __unknown_anytype ;
Test7
;
void
void
extern "C" __unknown_anytype test9_foo;
void *
// Don't explode on this.
extern "C" __unknown_anytype ;
void
extern "C" __unknown_anytype ;
void