about summary refs log tree commit diff homepage
path: root/test/Concrete/UnconditionalBranch.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Concrete/UnconditionalBranch.ll')
-rw-r--r--test/Concrete/UnconditionalBranch.ll10
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
+}