aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/2007-09-17-AliasConstFold2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/2007-09-17-AliasConstFold2.ll')
-rw-r--r--test/Transforms/InstCombine/2007-09-17-AliasConstFold2.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/2007-09-17-AliasConstFold2.ll b/test/Transforms/InstCombine/2007-09-17-AliasConstFold2.ll
index 23ee12b..c7cef75 100644
--- a/test/Transforms/InstCombine/2007-09-17-AliasConstFold2.ll
+++ b/test/Transforms/InstCombine/2007-09-17-AliasConstFold2.ll
@@ -3,7 +3,9 @@
@A = alias weak void ()* @B ; <void ()*> [#uses=1]
-declare extern_weak void @B()
+define weak void @B() {
+ ret void
+}
define i32 @active() {
entry: