From ecfecfe11457b5fc7156d660c08962f712e855cf Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 8 Oct 2003 18:28:10 +0000 Subject: [PATCH] old testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8967 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../FunctionResolve/2003-06-18-TypePromotion.ll | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/Transforms/FunctionResolve/2003-06-18-TypePromotion.ll diff --git a/test/Transforms/FunctionResolve/2003-06-18-TypePromotion.ll b/test/Transforms/FunctionResolve/2003-06-18-TypePromotion.ll new file mode 100644 index 00000000000..11e385e1461 --- /dev/null +++ b/test/Transforms/FunctionResolve/2003-06-18-TypePromotion.ll @@ -0,0 +1,12 @@ +; RUN: llvm-as < %s | opt -funcresolve | dis | not grep declare + +declare void %test(int) + +int %callee(int %X) { + call void %test(int %X) + ret int 2 +} + +internal void %test(sbyte) { + ret void +} -- 2.34.1