Add new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7229 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-07-22 16:18:09 +00:00
parent df3ac860e8
commit 35611c3a6b
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) $<