| Eric Christopher | 85e5156 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
| 2 | |||||
| 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 | } | ||||