aboutsummaryrefslogtreecommitdiff
path: root/test/behavior.zig
AgeCommit message (Collapse)Author
2018-08-03better support for `_` identifierkristopher tate
* disallow variable declaration of `_` * prevent `_` from shadowing itself * prevent read access of `_` closes #1204 closes #1320
2018-07-30add behavior tests for cancel semanticsAndrew Kelley
2018-07-14codegen: Store returned value if type is 'handle_is_ptr' and function is not ↵Eduardo Sánchez Muñoz
'first_arg_ret'. Seems to fix #1230, includes test.
2018-07-07add @popCount intrinsicAndrew Kelley
2018-07-04fix await on early return when return type is structAndrew Kelley
previously, await on an early return would try to access the destroyed coroutine frame; now it copies the result into a temporary variable before destroying the coroutine frame
2018-06-26fix crash for optional pointer to empty structAndrew Kelley
closes #1153
2018-06-21add casting docs, __extenddftf2, and __extendsftf2Andrew Kelley
2018-06-21Add test caseIsaac Hier
2018-06-16disable byvalAndrew Kelley
2018-06-12add docs and missing test case for merging error setsAndrew Kelley
See #367
2018-05-13Merge branch 'master' into pointer-reformAndrew Kelley
2018-05-12add @newStackCall builtin functionAndrew Kelley
See #1006
2018-05-09Merge branch 'master' into pointer-reformAndrew Kelley
2018-05-03Merge pull request #951 from alexnask/reflect_reifyAndrew Kelley
Metaprogramming - @typeInfo [DONE]
2018-05-02Fixed inlining determination test (#972)Alexandros Naskos
When deciding wether we should inline a scope, look up the parents until we get to a function definition scope
2018-05-01Added type info tests to behavior test listingAlexandros Naskos
2018-04-30support foo.* for ptr derefAndrew Kelley
See #770
2018-04-15std.math.ln and std.math.exp use float strict modeAndrew Kelley
closes #920
2018-03-12some return types disqualify comptime fn call cachingAndrew Kelley
closes #828
2018-03-02add optnone noinline to async functionsAndrew Kelley
this works around LLVM optimization assertion failures. https://bugs.llvm.org/show_bug.cgi?id=36578 closes #800
2018-02-28run coroutine tests only in Debug modeAndrew Kelley
LLVM 5.0.1, 6.0.0, and trunk crash when attempting to optimize coroutine code. So, Zig does not support ReleaseFast or ReleaseSafe for coroutines yet. Luckily, Clang users are running into the same crashes, so folks from the LLVM community are working on fixes. If we're really lucky they'll be fixed in 6.0.1. Otherwise we can hope for 7.0.0.
2018-02-28better coroutine codegen, now passing first coro testAndrew Kelley
we have to use the Suspend block with llvm.coro.end to return from the coro
2018-02-15fix compiler crash when struct contains...Andrew Kelley
ptr to another struct which contains original struct
2017-12-20add labeled loops, labeled break, labeled continue. remove gotoAndrew Kelley
closes #346 closes #630 regression: translate-c can no longer translate switch statements. after #629 we can ressurect and modify the code to utilize arbitrarily returning from blocks.
2017-12-14fix compiler crash in a nullable if after an if in...Andrew Kelley
...a switch prong of a switch with 2 prongs in an else closes #656
2017-12-13fix const and volatile qualifiers being dropped sometimesAndrew Kelley
in the expression `&const a.b`, the const (and/or volatile) qualifiers would be incorrectly dropped. closes #655
2017-11-03more compile-time type reflectionAndrew Kelley
See #383
2017-10-27add test case for previous commitAndrew Kelley
2017-09-30remove zigrtAndrew Kelley
adds test case for #394 partially reverts a32b5929ccf8cbf79396d8924097a1a911985dac
2017-08-29fix bitfield pointer syntaxAndrew Kelley
See #37
2017-06-17allow trailing commasscurest
closes #392
2017-06-15fix alignOf builtinAndrew Kelley
* fix assertion error when type is not yet complete * fix alignment value closes #391
2017-06-14partial implementation of printing floating point numbers with errol3Andrew Kelley
also add bitCast builtin function. closes #387
2017-05-09ability to slice ptr to hard coded integer at comptimeAndrew Kelley
closes #369
2017-05-02fix compiler crash when referencing a variable...Andrew Kelley
...in an if after an if in the 2nd switch prong closes #355
2017-04-19test framework supports name prefix and filter argumentAndrew Kelley
rename self hosted tests to behavior tests