commit | 2ab28c96d1f3638d3dc092764fc525ac658a905a | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Dec 09 00:36:01 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Dec 09 00:36:01 2007 +0000 |
tree | c9e57c2bc4e6d94bb41f1e4bbd5320182ab45b20 | |
parent | 333052c8f19ae074707208a23ef66e7bf09e5ebd [diff] [blame] |
implement support for functions that initialize globals. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44730 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/globalinit.c b/test/CodeGen/globalinit.c index f08760f..bfa909b 100644 --- a/test/CodeGen/globalinit.c +++ b/test/CodeGen/globalinit.c
@@ -12,3 +12,6 @@ extern int y[]; void *g = y; +int latin_ptr2len (char *p); +int (*mb_ptr2len) (char *p) = latin_ptr2len; +