// RUN: %clang_cc1 %s -fsyntax-only -fborland-extensions -triple x86_64-linux-gnu -verify
// RUN: %clang_cc1 %s -fsyntax-only -fborland-extensions -triple i686-linux-gnu -Werror
// Borland extensions
// 1. test -fborland-extensions
int
// 2. test __pascal
// expected-warning@+1 {{'_pascal' calling convention is not supported for this target}}
int _pascal ;
// expected-warning@+1 {{'__pascal' calling convention is not supported for this target}}
float __pascal ;
// expected-warning@+1 {{'__pascal' calling convention is not supported for this target}}
T
;
// expected-warning@+1 {{'__pascal' calling convention is not supported for this target}}
int
void
// 3. test other calling conventions
int _cdecl ;
// expected-warning@+1 {{'_fastcall' calling convention is not supported for this target}}
int _fastcall ;
// expected-warning@+1 {{'_stdcall' calling convention is not supported for this target}}
int _stdcall ;
// 4. test __uuidof()
typedef struct _GUID GUID;
;
;
void