Move variable that's unused in an NDEBUG build inside the DEBUG() macro, fixing
[llvm.git] / test / FrontendC / 2004-07-06-FunctionCast.c
blob6d80f86fa1eb56eb20755245b0a66c0763b1b4e5
1 // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
3 static int unused_func(void) {
4 return 1;
7 int foo(void) {
8 (void)unused_func; /* avoid compiler warning */
9 return 2;