178 lines · 3.5 KB · Text
RawDownload
# Format:# [B|F] testname [E|P] result#    [B|F]: Compiler outcome.#	B: Expect that this test will build.#	F: Expect that this test will not build.#    testname: Test case#	The test that will run. We will try to#	compile 'testname.myr' to 'testname',#	and then execute it, verifying the result#    [E|P|C]: Result type#	E tells us that the result is an exit status#	P tells us that the result is on stdout,#         and should be compared to the value on the#         line#	C tells us that the result is on stdout,#         and should be compared to the contents of#         the file passed on the line.#       D#    result: Result value#	What we compare with. This should be self-#	evident.B main		E	0B splitline     E       3B add		E	53B mul		E	42B mul8		E	18B div		E	42B mod		E	6B bsr		E	5B chartest	E	0B trunccast	E	15B zwidencast	E	99B swidencast	E	99B derefassign	E	123B ptrpreinc	E	9B postinc-ret	P	'1'B incret        E       1B outparam	E	42B outparam-sl	E	2B struct1	E	12B struct	E	42B align		CB structptr	E	42B structasn	E	42B structarray	E	42B structret	E	42B constslice	P	2312345678B constunion	P	'`std.Some thing'B exportmain	E	42B slalloc	E	123B neststruct	E	3B array		E	7B arrayaddr	E	42B global-arrayvar	E	7B arraylen	E	12B slice		E	10B slicelen	E	5B call		E	42B doublecall	P	42,33B voidcall	E	12B voidarg	P	3B voidassign	P	okB callbig	E	42B nestfn	E	42B foldidx	P	123,456B closure	P	111555333666B nestclosure	P	1B closurerec	E	21B fncast	P	okB loop		P	0123401236789B subrangefor	P       12B patiter	P	23512B custiter	P	67891011B condiftrue	E	7B condiffalse	E	9B condifrel	E	7B ptrcmp	E	0B overlappingif	E	2#B bigcondarg	C       ## BUGGEREDB fib		E	21B basicfloat	E	84B sqrt		E	4B mandelbrot	CB log-and	E	0B log-or	E	1B str		E	102B multistr		E	0B generic	E	42B genericval	E	42B trait-builtin	E	42B pkgtrait	E	42B gtrait	P	'`std.Before'B emptytrait	E	123B traitimpl	P	246,44,meee#B compoundimpl	P	intptr,charptrB nestucon	P	asdfB mkunion	E	0B uconinit	P	'A B C 123'B genericcall	E	42B generictype	E	0B genericret	E	42B genericmatch	E	15B genericrec	E	0B genericimpl	P	'int string @a @a[:]'B recgeneric	P	'built'B bigtyblob	P	'`U100'B genericchain	P	'val = 123'B genericmake	P	'val = 123'B genericuret	E	42B sizeof	E	4B gsizeof	E	5B matchint	E	84B matchconst	E	88B matchnsconst	P	'matched badchar'B matchunion	E	84B matchtup	E	42B matchstruct	E	42B matcharray	E	42B matchargunion	E	69B matchvoid	P	'ok'B matchexhaust	P	workedB matchargstr	CB matchunion_sl	P	fooB matchbind	E	8B matchptr	P	'worked'B matchnest	P	'abcdef'F matchmixedF matchoverlapB bigliteral	P	34359738368B fltabs	P	'42.0'B arraylit-ni	E	2B arraypack	P	'(1, foo)(2, bar)(3, baz)'B arraypass	P	1B livearraylit	E	21B arraylit	E	3B structlit	E	42B livestructlit	E	21B tuple		E	42B tupleaccess	P	'a: 0, b: 5, c: 2'B slgrow        E       42B slprint       P       '1          [2]'B tyrec		E	42B infer-named   E       99B exportcycle   E       0B import-type	E	0B helloworld	P	Hello-世界B encodechar	P	1世界äaB strtab	CB catfile	CB strstrip	CB strsplit	CB strfind	CB strjoin	CB exporttrait	E	0B local-labels	E	10B empty-struct	E	21F declmismatchF infermismatchF usedefF occurF tyoccurF union-extraargF union-missingargF match-badtypesF generic-in-constF aritylowF arityhighF badopB voideffect	P	passB foroptexpr	P	pass#B bounds	D	134B rvaldotlen	P	passB destructuretup	E	0B nestedgoto	E	0B initializer	E	0B fmtalign	E	0B implexpr	P	12,z,helloB implexpr-concrete	P	zigzag