freebsd-nq/test/CodeGen/static-forward-decl-fun.c
2010-01-01 10:34:51 +00:00

7 lines
177 B
C

// 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;