llvm-for-llvmta/tools/clang/test/Sema/Inputs/ms-keyword-system-header.h

10 lines
305 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
/* "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 made available as an identifier here}}
#endif
int *__iptr;
} WS __attribute__((__transparent_union__));