Move this testcase out of /home/vadve/lattner/cvs/llvm/test/Programs/LLVMSource,
authorChris Lattner <sabre@nondot.org>
Mon, 9 Feb 2004 22:52:25 +0000 (22:52 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 9 Feb 2004 22:52:25 +0000 (22:52 +0000)
as it fails.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11250 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2003-08-03-ReservedWordFunction.llx [new file with mode: 0644]

diff --git a/test/CodeGen/X86/2003-08-03-ReservedWordFunction.llx b/test/CodeGen/X86/2003-08-03-ReservedWordFunction.llx
new file mode 100644 (file)
index 0000000..8ca27cf
--- /dev/null
@@ -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
+}
+