aboutsummaryrefslogtreecommitdiff
path: root/LLVMSource
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-03 22:43:42 +0000
committerChris Lattner <sabre@nondot.org>2003-08-03 22:43:42 +0000
commitd0229eb2194e1d0d5ac9e9ea4a8ca8277e92a7cd (patch)
tree548fa70f8cb6cc160939714427e1dda02351d941 /LLVMSource
parent37179ad62b1d5b80cce78571c622c17eafd6b1fe (diff)
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@7550 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'LLVMSource')
-rw-r--r--LLVMSource/2003-08-03-ReservedWordFunction.ll14
1 files changed, 14 insertions, 0 deletions
diff --git a/LLVMSource/2003-08-03-ReservedWordFunction.ll b/LLVMSource/2003-08-03-ReservedWordFunction.ll
new file mode 100644
index 00000000..8fb9d576
--- /dev/null
+++ b/LLVMSource/2003-08-03-ReservedWordFunction.ll
@@ -0,0 +1,14 @@
+; This testcase ensures the code emitter does something about the fact that
+; we can have collisions with keywords
+
+target endian = little
+target pointersize = 32
+
+void %byte() {
+ ret void
+}
+int %main() {
+ call void %byte()
+ ret int 0
+}
+