summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-09 22:52:25 +0000
committerChris Lattner <sabre@nondot.org>2004-02-09 22:52:25 +0000
commit79caafeefe7606fd223bf7401ca72bc387bdfefc (patch)
tree9d2c342faf41a1465d2c358d0165497b0704eca5 /test
parentf1d0d3519f456ba8f8293ea7d9aaff506e97e2fb (diff)
downloadllvm-79caafeefe7606fd223bf7401ca72bc387bdfefc.tar.gz
llvm-79caafeefe7606fd223bf7401ca72bc387bdfefc.tar.bz2
llvm-79caafeefe7606fd223bf7401ca72bc387bdfefc.tar.xz
Move this testcase out of /home/vadve/lattner/cvs/llvm/test/Programs/LLVMSource,
as it fails. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/2003-08-03-ReservedWordFunction.llx13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2003-08-03-ReservedWordFunction.llx b/test/CodeGen/X86/2003-08-03-ReservedWordFunction.llx
new file mode 100644
index 0000000000..8ca27cffb0
--- /dev/null
+++ b/test/CodeGen/X86/2003-08-03-ReservedWordFunction.llx
@@ -0,0 +1,13 @@
+; This testcase ensures the code emitter does something about the fact that
+; we can have collisions with keywords
+
+; RUN: llvm-as < %s | llc | not grep '^byte:'
+
+void %byte() {
+ ret void
+}
+int %main() {
+ call void %byte()
+ ret int 0
+}
+