[NFC][RISCV] Remove CFIIndex argument from allocateStack (#117871)
[llvm-project.git] / clang / test / Sema / Inputs / unused-expr-system-header.h
blob72b2d95de44d89a48820be3d6cf1c07125871ea7
1 // "System header" for testing that -Wunused-value is properly suppressed in
2 // certain cases.
4 #define POSSIBLY_BAD_MACRO(x) \
5 { int i = x; \
6 i; }
8 #define STATEMENT_EXPR_MACRO(x) \
9 (__extension__ \
10 ({int i = x; \
11 i;}))
13 #define COMMA_MACRO_1(x, y) \
14 {x, y;}
16 #define COMMA_MACRO_2(x, y) \
17 if (x) { 1 == 2, y; }
19 #define COMMA_MACRO_3(x, y) \
20 (x, y)
22 #define COMMA_MACRO_4(x, y) \
23 ( 1 == 2, y )