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 00000000000..b0eca495b44 --- /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 +