Alp Toker | 62c5b57 | 2013-11-26 01:30:10 +0000 | [diff] [blame] | 1 | /* "System header" for testing GNU libc keyword conflict workarounds */ |
| 2 | |
| 3 | typedef union { |
| 4 | union w *__uptr; |
Alp Toker | 47642d2 | 2013-12-03 06:13:01 +0000 | [diff] [blame] | 5 | #if defined(MS) && defined(NOT_SYSTEM) |
Alp Toker | cfea749 | 2013-12-09 12:41:02 +0000 | [diff] [blame] | 6 | // expected-warning@-2 {{keyword '__uptr' will be made available as an identifier here}} |
Alp Toker | 47642d2 | 2013-12-03 06:13:01 +0000 | [diff] [blame] | 7 | #endif |
Alp Toker | 62c5b57 | 2013-11-26 01:30:10 +0000 | [diff] [blame] | 8 | int *__iptr; |
| 9 | } WS __attribute__((__transparent_union__)); |