diff options
-rw-r--r-- | test/Other/2002-01-31-PostDomSet-2.ll | 21 |
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 0000000..b0eca49 --- /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 + |