brintos

brintos / llvm-project-archived public Read only

0
0
Text · 515 B · 3e10c17 Raw
14 lines · c
1// Ensure that builtin attributes do not get treated as user defined macros to2// be weapped in macro qualified types. This addresses P41852.3//4// RUN: %clang_cc1 %s -triple i686-w64-mingw32 -fsyntax-only -verify5// expected-no-diagnostics6 7typedef int WINBOOL;8typedef unsigned int UINT_PTR, *PUINT_PTR;9typedef unsigned long long ULONG64, *PULONG64;10#define WINAPI __stdcall11#define CALLBACK __stdcall12 13typedef WINBOOL(CALLBACK WINAPI *PSYMBOLSERVERCALLBACKPROC)(UINT_PTR action, ULONG64 data, ULONG64 context);14