[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / static-forward-decl-fun.c
blobe33ee621b345126bc45498873a4f8ea41037c863
1 // RUN: %clang_cc1 %s -emit-llvm -o %t
3 static int staticfun(void);
4 int (*staticuse1)(void) = staticfun;
5 static int staticfun() {return 1;}
6 int (*staticuse2)(void) = staticfun;