blob: c171b184e73b8589085d8bdbdb4155c11f5139bd [file] [log] [blame]
Chris Lattner1fcfd4e2003-05-31 20:21:13 +00001; RUN: if as < %s | opt -funcresolve | dis | grep declare
2; RUN: then exit 1
3; RUN: else exit 0
4; RUN: fi
5%Table = constant int(...)* %foo
6
Chris Lattner9c6e99c2003-05-31 20:33:09 +00007%Table2 = constant [1 x int(...)* ] [ int(...)* %foo ]
8
Chris Lattner1fcfd4e2003-05-31 20:21:13 +00009declare int %foo(...)
10
11int %foo() {
12 ret int 0
13}