Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc %s -emit-llvm -o %t |
Eli Friedman | 109603d | 2008-05-30 11:13:18 +0000 | [diff] [blame] | 2 | |
3 | static int staticfun(void); | ||||
4 | int (*staticuse1)(void) = staticfun; | ||||
5 | static int staticfun() {return 1;} | ||||
6 | int (*staticuse2)(void) = staticfun; |