diff options
Diffstat (limited to 'test/Transforms/PruneEH/2008-06-02-Weak.ll')
-rw-r--r-- | test/Transforms/PruneEH/2008-06-02-Weak.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Transforms/PruneEH/2008-06-02-Weak.ll b/test/Transforms/PruneEH/2008-06-02-Weak.ll new file mode 100644 index 0000000..fb97ae8 --- /dev/null +++ b/test/Transforms/PruneEH/2008-06-02-Weak.ll @@ -0,0 +1,12 @@ +; RUN: opt < %s -prune-eh -S | not grep nounwind + +define weak void @f() { +entry: + ret void +} + +define void @g() { +entry: + call void @f() + ret void +} |