opnsense-src/test/CodeGen/static-forward-decl-fun.c

7 lines
177 B
C
Raw Normal View History

2010-01-01 05:34:51 -05:00
// RUN: %clang_cc1 %s -emit-llvm -o %t
2009-06-02 13:58:47 -04:00
static int staticfun(void);
int (*staticuse1)(void) = staticfun;
static int staticfun() {return 1;}
int (*staticuse2)(void) = staticfun;