aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine/test-loadstore.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/ExecutionEngine/test-loadstore.ll')
-rw-r--r--test/ExecutionEngine/test-loadstore.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ExecutionEngine/test-loadstore.ll b/test/ExecutionEngine/test-loadstore.ll
index f8fadab..936aa5f 100644
--- a/test/ExecutionEngine/test-loadstore.ll
+++ b/test/ExecutionEngine/test-loadstore.ll
@@ -10,3 +10,11 @@ void %test(sbyte* %P, short* %P, int* %P) {
store int %V, int* %P
ret void
}
+
+void %main() {
+ %A = alloca sbyte
+ %B = alloca short
+ %C = alloca int
+ call void %test(sbyte* %A, short* %B, int* %C)
+ ret void
+}