mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-02 18:31:54 +00:00
Add new testcase
llvm-svn: 7229
This commit is contained in:
parent
f5e0c07db6
commit
f71891f2e0
@ -0,0 +1,7 @@
|
||||
/* RUN: llvmgcc -xc %s -c -o - | dis | not grep cast
|
||||
*/
|
||||
|
||||
void test(int* array, long long N) {
|
||||
array[N] = 33;
|
||||
}
|
||||
|
@ -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) $<
|
||||
|
Loading…
x
Reference in New Issue
Block a user