summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/static-forward-decl-fun.c
blob: e33ee621b345126bc45498873a4f8ea41037c863 (about) (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 %s -emit-llvm -o %t

static int staticfun(void);
int (*staticuse1)(void) = staticfun;
static int staticfun() {return 1;}
int (*staticuse2)(void) = staticfun;