1 // RUN: %clang_cc1 -DA= -DB=1 -verify -fsyntax-only %s 2 // expected-no-diagnostics 3 4 int a[(B A) == 1 ? 1 : -1]; 5 6 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; }) 10 11 void foo(int a, int b, int c) { 12 memset(a,b,c); // No warning! 13 } 14