reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
// Ensure that builtin attributes do not get treated as user defined macros to
// be weapped in macro qualified types. This addresses P41852.
//
// RUN: %clang_cc1 %s -triple i686-w64-mingw32 -fsyntax-only -verify
// expected-no-diagnostics

typedef int WINBOOL;
typedef unsigned int UINT_PTR, *PUINT_PTR;
typedef unsigned long long ULONG64, *PULONG64;
#define WINAPI __stdcall
#define CALLBACK __stdcall

typedef WINBOOL(CALLBACK WINAPI *PSYMBOLSERVERCALLBACKPROC)(UINT_PTR action, ULONG64 data, ULONG64 context);