aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-23 18:28:03 +0000
committerChris Lattner <sabre@nondot.org>2002-07-23 18:28:03 +0000
commite58a01fc5d1cfe0da5d00b55aabf0454e66eca75 (patch)
tree79128f9f31dd322572b98aecd60e86faed4a1ae5
parentdc6c7619dad5185f48b52319bd0dfb9370337e24 (diff)
Checking testcase in my local tree only
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3026 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Other/2002-01-31-PostDomSet-2.ll21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/Other/2002-01-31-PostDomSet-2.ll b/test/Other/2002-01-31-PostDomSet-2.ll
new file mode 100644
index 0000000000..b0eca495b4
--- /dev/null
+++ b/test/Other/2002-01-31-PostDomSet-2.ll
@@ -0,0 +1,21 @@
+; Crash in post dominator set construction.
+;
+; RUN: analyze -postdomset %s
+;
+
+implementation
+
+int "postdomsettest"()
+begin
+ br label %L2Top
+
+L2Top:
+ br bool true, label %L2End, label %L2Body
+
+L2Body:
+ br label %L2Top
+
+L2End:
+ ret int 0
+end
+