di/trigraph testcase

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-10-29 14:36:05 +01:00
parent bd739528ad
commit aff3cbbaa8
3 changed files with 15 additions and 1 deletions

View file

@ -13,7 +13,8 @@ TESTLIST = \
maths2 \
equality \
fields1 \
invalid-types
invalid-types \
ngraphs
.PHONY: clean test
@ -142,6 +143,11 @@ invalid-types-ok: obj invalid-types/assign.qc invalid-types/op.qc invalid-types/
invalid-types: invalid-types-ok
$(eval $(call maketest,ngraphs,qcc))
ngraphs:
@$(VM) $< > $@/output
@diff $@/output $@/expected
#######################################################################
obj:
mkdir obj

View file

@ -0,0 +1,2 @@
#^[]|{}~\
#^[]|{}~\

View file

@ -0,0 +1,6 @@
void(string, string) print = #1;
void() main = {
print("??=??'??(??)??!??<??>??-??/??/", "??/n");
print("#^[]|{}~\\", "\n");
};