| Daniel Dunbar | 8e019fd | 2008-08-21 02:51:29 +0000 | [diff] [blame] | 1 | // RUN: clang %s -emit-llvm -o %t |
| Eli Friedman | 5dcae52 | 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; | ||||