Add new testcase

llvm-svn: 7229
This commit is contained in:
Chris Lattner 2003-07-22 16:18:09 +00:00
parent f5e0c07db6
commit f71891f2e0
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,7 @@
/* RUN: llvmgcc -xc %s -c -o - | dis | not grep cast
*/
void test(int* array, long long N) {
array[N] = 33;
}

View File

@ -11,5 +11,10 @@ LEVEL = ../../..
include $(LEVEL)/test/Makefile.tests
TESTS := $(wildcard *.c)
TR_TESTS := $(wildcard *.c.tr)
all:: $(addprefix Output/, $(TESTS:%.c=%.tbc))
all:: $(addprefix Output/, $(TR_TESTS:%=%.out))
Output/%.c.tr.out: %.c.tr Output/.dir $(LCC1)
-$(TESTRUNR) $<