--- /dev/null
+# test/Regression/Assembler/Makefile
+#
+# This directory contains regression tests for the LLVM assembler program.
+# These LLVM source file tests are just required to assembler properly to pass.
+#
+LEVEL = ../../..
+include $(LEVEL)/test/Makefile.tests
+
+TESTS := $(wildcard *.ll)
+
+all:: $(addprefix Output/, $(TESTS:%.ll=%.ll.out))
+
+Output/%.ll.out: %.ll Output/.dir $(LAS) $(LBUGPOINT)
+ -$(TESTRUNR) $<
+
+clean::
+ rm -f *.bc
--- /dev/null
+; Basic test for bugpoint.
+; RUN: bugpoint %s -domset -idom -domset -bugpoint-crashcalls -domset -idom -domset
+
+int %test() {
+ call int %test()
+ ret int %0
+}
--- /dev/null
+; Test that bugpoint can narrow down the testcase to the important function
+;
+; RUN: bugpoint %s -bugpoint-crashcalls
+
+int %foo() { ret int 1 }
+
+int %test() {
+ call int %test()
+ ret int %0
+}
+
+int %bar() { ret int 2 }
+