diff options
Diffstat (limited to 'test/Concrete/UnconditionalBranch.ll')
-rw-r--r-- | test/Concrete/UnconditionalBranch.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Concrete/UnconditionalBranch.ll b/test/Concrete/UnconditionalBranch.ll new file mode 100644 index 00000000..81e2f931 --- /dev/null +++ b/test/Concrete/UnconditionalBranch.ll @@ -0,0 +1,10 @@ +declare void @print_i32(i32) + +define i32 @main() { +entry: + %a = add i32 0, 1 + br label %exit +exit: + call void @print_i32(i32 %a) + ret i32 0 +} |