diff --git a/test/Assembler/2002-05-02-InvalidForwardRef.ll b/test/Assembler/2002-05-02-InvalidForwardRef.ll new file mode 100644 index 00000000000..961ae84edfd --- /dev/null +++ b/test/Assembler/2002-05-02-InvalidForwardRef.ll @@ -0,0 +1,11 @@ +; It looks like the assembler is not forward resolving the function declaraion +; correctly. + +void "test"() +begin + call void %foo() + ret void +end + +declare void "foo"() +