aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/ret42.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/ret42.ll')
-rw-r--r--test/CodeGen/Generic/ret42.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/ret42.ll b/test/CodeGen/Generic/ret42.ll
new file mode 100644
index 0000000000..f5cd33dc0b
--- /dev/null
+++ b/test/CodeGen/Generic/ret42.ll
@@ -0,0 +1,5 @@
+; RUN: llc < %s
+
+define i32 @main() {
+ ret i32 42
+}