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 00000000000..8ca27cffb04 --- /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 +} +