New testcase for dominator problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3209 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Other/2002-08-02-DomSetProblem.ll b/test/Other/2002-08-02-DomSetProblem.ll
new file mode 100644
index 0000000..a6bf60a
--- /dev/null
+++ b/test/Other/2002-08-02-DomSetProblem.ll
@@ -0,0 +1,11 @@
+; Dominator set calculation is not calculating dominators for unreachable
+; blocks. These blocks should at least dominate themselves. This is
+; fouling up the verify pass.
+;
+; RUN: analyze -domset %s | grep BB
+
+void %test() {
+ ret void
+BB:
+ ret void
+}