summaryrefslogtreecommitdiffstats
path: root/test/Other
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2007-06-16 16:17:35 +0000
committerNick Lewycky <nicholas@mxc.ca>2007-06-16 16:17:35 +0000
commit8946fe177659512b14f7292eb0f0fc8532fcce64 (patch)
tree022cbc463e87b8fa85a051df6f33eddfef045154 /test/Other
parente882fca902ba6b1a9e0c361c5781084f79eb6216 (diff)
downloadexternal_llvm-8946fe177659512b14f7292eb0f0fc8532fcce64.zip
external_llvm-8946fe177659512b14f7292eb0f0fc8532fcce64.tar.gz
external_llvm-8946fe177659512b14f7292eb0f0fc8532fcce64.tar.bz2
Call the correct function name. Patch from Stephane Letz.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/2007-06-16-Funcname.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Other/2007-06-16-Funcname.ll b/test/Other/2007-06-16-Funcname.ll
new file mode 100644
index 0000000..a2cdd18
--- /dev/null
+++ b/test/Other/2007-06-16-Funcname.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llvm2cpp -funcname=WAKKA | not grep makeLLVMModule
+; PR1515
+
+define void @foo() {
+ ret void
+}
+