Chris Lattner | 1fcfd4e | 2003-05-31 20:21:13 +0000 | [diff] [blame^] | 1 | ; 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 | |||||
7 | declare int %foo(...) | ||||
8 | |||||
9 | int %foo() { | ||||
10 | ret int 0 | ||||
11 | } |