Tanya Lattner | e9af5d1 | 2004-11-06 22:41:00 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null |
2 | |||||
Chris Lattner | b50eaea | 2004-07-07 02:20:02 +0000 | [diff] [blame] | 3 | static int unused_func(void) { |
4 | return 1; | ||||
5 | } | ||||
6 | |||||
7 | int foo(void) { | ||||
8 | (void)unused_func; /* avoid compiler warning */ | ||||
9 | return 2; | ||||
10 | } |