diff options
-rw-r--r-- | test/inductionvars.ll | 8 | ||||
-rw-r--r-- | test/inlinetest.ll | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/test/inductionvars.ll b/test/inductionvars.ll index dba38a0383..f280ddd83d 100644 --- a/test/inductionvars.ll +++ b/test/inductionvars.ll @@ -1,6 +1,6 @@ implementation -int "loop test"(int %i, int %j) +int "looptest"(int %i, int %j) begin %whichLoop = setlt int %i, %j br bool %whichLoop, label %Loop1Header, label %Loop2Header @@ -41,3 +41,9 @@ Merge: ret int %v2 end +int "main"() +begin + call int %looptest(int 0, int 12) + ret int %0 +end + diff --git a/test/inlinetest.ll b/test/inlinetest.ll index 6db3076475..f3b68d8b44 100644 --- a/test/inlinetest.ll +++ b/test/inlinetest.ll @@ -19,7 +19,7 @@ begin ret int %q end -int "FTIITII"() +int "main"() begin %z = call int(int) %FuncToInlineInto(int 1) ret int %z |