aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/Inputs/ms-keyword-system-header.h
blob: 43a3db7a12ba470dd1c186388c0777de02afdc35 (plain) (blame)
1
2
3
4
5
6
7
8
9
/* "System header" for testing GNU libc keyword conflict workarounds */

typedef union {
  union w *__uptr;
#if defined(MS) && defined(NOT_SYSTEM)
  // expected-warning@-2 {{keyword '__uptr' will be treated as an identifier here}}
#endif
  int *__iptr;
} WS __attribute__((__transparent_union__));