blob: 6d80f86fa1eb56eb20755245b0a66c0763b1b4e5 [file] [log] [blame]
Dan Gohman2d65d352009-08-25 15:38:29 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
3static int unused_func(void) {
4 return 1;
5}
6
7int foo(void) {
8 (void)unused_func; /* avoid compiler warning */
9 return 2;
10}