Checking testcase in my local tree only
authorChris Lattner <sabre@nondot.org>
Tue, 23 Jul 2002 18:28:03 +0000 (18:28 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 23 Jul 2002 18:28:03 +0000 (18:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3026 91177308-0d34-0410-b5e6-96231b3b80d8

test/Other/2002-01-31-PostDomSet-2.ll [new file with mode: 0644]

diff --git a/test/Other/2002-01-31-PostDomSet-2.ll b/test/Other/2002-01-31-PostDomSet-2.ll
new file mode 100644 (file)
index 0000000..b0eca49
--- /dev/null
@@ -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
+