| 1 | // RUN: %clang_cc1 %s -emit-llvm -o %t |
|---|---|
| 2 | |
| 3 | static int staticfun(void); |
| 4 | int (*staticuse1)(void) = staticfun; |
| 5 | static int staticfun() {return 1;} |
| 6 | int (*staticuse2)(void) = staticfun; |
| 7 |
| 1 | // RUN: %clang_cc1 %s -emit-llvm -o %t |
|---|---|
| 2 | |
| 3 | static int staticfun(void); |
| 4 | int (*staticuse1)(void) = staticfun; |
| 5 | static int staticfun() {return 1;} |
| 6 | int (*staticuse2)(void) = staticfun; |
| 7 |