Commit 020f854f6f
Changed files (2)
test/run_tests.cpp
@@ -186,6 +186,11 @@ fn a() {
fn b() {}
)SOURCE", 1, "Line 4, column 5: unreachable code");
+
+ add_compile_fail_case("bad version string", R"SOURCE(
+#version("aoeu")
+export executable "test";
+ )SOURCE", 1, "Line 2, column 1: invalid version string");
}
static void print_compiler_invokation(TestCase *test_case, Buf *zig_stderr) {
README.md
@@ -42,8 +42,7 @@ make
## Roadmap
- * variables and parameters
- * Export .so library
+ * variable declarations and assignment expressions
* Multiple files
* Type checking
* inline assembly and syscalls