New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-05-12 22:28:15 +00:00
parent fd9c5de425
commit b17a67807a
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,15 @@
; RUN: analyze %s -domset -disable-verify
;
int %re_match_2() {
ENTRY:
br label %loopexit.20
loopentry.20:
br label %loopexit.20
loopexit.20:
ret int 0
endif.46: ; UNREACHABLE
br label %loopentry.20
}

View File

@ -0,0 +1,10 @@
LEVEL = ../../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.ll)
all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
Output/%.ll.out: %.ll Output/.dir $(LOPT)
-$(TESTRUNR) $<