| Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %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; | ||||