• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Ensure that builtin attributes do not get treated as user defined macros to
2 // be weapped in macro qualified types. This addresses P41852.
3 //
4 // RUN: %clang_cc1 %s -triple i686-w64-mingw32 -fsyntax-only -verify
5 // expected-no-diagnostics
6 
7 typedef int WINBOOL;
8 typedef unsigned int UINT_PTR, *PUINT_PTR;
9 typedef unsigned long long ULONG64, *PULONG64;
10 #define WINAPI __stdcall
11 #define CALLBACK __stdcall
12 
13 typedef WINBOOL(CALLBACK WINAPI *PSYMBOLSERVERCALLBACKPROC)(UINT_PTR action, ULONG64 data, ULONG64 context);
14