[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git] / clang / test / Frontend / macros.c
blob68f220339dbfad67f864a5de7a7c502a6b1fe09f
1 // RUN: %clang_cc1 -DA= -DB=1 -verify -fsyntax-only %s
2 // expected-no-diagnostics
4 int a[(B A) == 1 ? 1 : -1];
7 // PR13747 - Don't warn about unused results with statement exprs in macros.
8 void stuff(int,int,int);
9 #define memset(x,y,z) ({ stuff(x,y,z); x; })
11 void foo(int a, int b, int c) {
12 memset(a,b,c); // No warning!