aboutsummaryrefslogtreecommitdiff
path: root/test/compile_errors.zig
AgeCommit message (Collapse)Author
2017-04-23defer requires expr to be void. closes #341Josh Wolfe
2017-04-23fix check-statement-is-void. add testsJosh Wolfe
see #291
2017-04-23blocks check that their statements are voidJosh Wolfe
closes #291 This changes the error message "return value ignored" to "expression value is ignored". This is because this error also applies to {1;}, which has no function calls. Also fix ignored expression values in std and test. This caught a bug in debug.readAllocBytes where an early Eof error would have been missed. See #219.
2017-04-23remove redundant unreachable code errorJosh Wolfe
2017-04-22new compile errors for setGlobalAlign and setGlobalSection builtinsAndrew Kelley
if you try to use them on an external variable or function then you get a compile error, since the alignment/section is set externally in this case. closes #244
2017-04-21update syntax for try and nullable unwrappingAndrew Kelley
closes #285
2017-04-21rename `@ptrcast` to `@ptrCast` to follow conventionAndrew Kelley
2017-04-20add compile error tests for offsetOf builtinAndrew Kelley
2017-04-19convert assemble and link tests to zig build systemAndrew Kelley
2017-04-19convert std lib tests to zig build systemAndrew Kelley