aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Assembler/2003-04-25-UnresolvedGlobalReference.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Assembler/2003-04-25-UnresolvedGlobalReference.ll b/test/Assembler/2003-04-25-UnresolvedGlobalReference.ll
new file mode 100644
index 0000000000..47820449ef
--- /dev/null
+++ b/test/Assembler/2003-04-25-UnresolvedGlobalReference.ll
@@ -0,0 +1,7 @@
+; There should be absolutely no problem with this testcase.
+
+implementation
+
+int %test(int %arg1, int %arg2) {
+ ret int cast (int (int, int)* %test to int)
+}