[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / c-c++-common / pr84293.h
blobc12989624a9001eda66dced956d4076aae8072e8
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;
6 #define INCREF_TDEF(op) (((Object*)(op))->refs++)
7 #define INCREF_STAG(op) (((struct object*)(op))->refs++)