1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Initial tests for tblgen

llvm-svn: 7430
This commit is contained in:
Chris Lattner 2003-07-30 19:40:00 +00:00
parent 5a67c69120
commit 05d010862c
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,14 @@
// Test that multiline, nested, comments work correctly.
//
// RUN: tblgen < %s
/* Foo
bar
/*
blah
*/
stuff
*/
def x;

View File

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

View File

@ -0,0 +1,6 @@
// RUN: not tblgen < %s
def x;
/* /* /* */