cgraph: A COMDAT decl always has non-zero address.
[gcc.git] / gcc / testsuite / c-c++-common / pr84293.h
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++)