| Daniel Dunbar | ffd408a | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc %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; | ||||