summaryrefslogtreecommitdiff
path: root/test/Other/new-pass-manager.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Other/new-pass-manager.ll')
-rw-r--r--test/Other/new-pass-manager.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Other/new-pass-manager.ll b/test/Other/new-pass-manager.ll
index d7cfb5ec7a..376bb2625e 100644
--- a/test/Other/new-pass-manager.ll
+++ b/test/Other/new-pass-manager.ll
@@ -29,6 +29,11 @@
; CHECK-NOOP: ret void
; CHECK-NOOP: }
+; Round trip through bitcode.
+; RUN: opt -f -o - -passes='no-op-module,no-op-module' %s \
+; RUN: | llvm-dis \
+; RUN: | FileCheck %s --check-prefix=CHECK-NOOP
+
define void @foo() {
ret void
}