comparison gcc/testsuite/c-c++-common/pr84293.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* PR c/84293 unexpected warning from system header expansion. */
2 #pragma GCC system_header
3 struct typeobject { unsigned refs; };
4 typedef struct object { unsigned refs; } Object;
5
6 #define INCREF_TDEF(op) (((Object*)(op))->refs++)
7 #define INCREF_STAG(op) (((struct object*)(op))->refs++)