summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2002-08-19-FunctionPointer.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CBackend/2002-08-19-FunctionPointer.ll')
-rw-r--r--test/CodeGen/CBackend/2002-08-19-FunctionPointer.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2002-08-19-FunctionPointer.ll b/test/CodeGen/CBackend/2002-08-19-FunctionPointer.ll
new file mode 100644
index 0000000..10b9fe2
--- /dev/null
+++ b/test/CodeGen/CBackend/2002-08-19-FunctionPointer.ll
@@ -0,0 +1,5 @@
+; RUN: llc < %s -march=c
+
+@fptr = global void ()* @f ;; Forward ref method defn
+declare void @f() ;; External method
+