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