32716e1abea59b4f950bbc22630d0a5cbad6f763 blob 251 bytes (raw)
1
2
3
4
5
6
7
8
| | # spec: An invalid program with no type
fn main(): {
return 0
}
# compiler_exit: 1
# compiler_output: ./tests/0003_fn_without_type.ol:2:12: error: got '{' token but expect <identifier>
# compiler_output: fn main(): {
# compiler_output: ^
|
debug log:
solving 32716e1 ...
found 32716e1 in http://lists.johnnyrichard.com/olang/20240512143033.229961-4-carlos@maniero.me/
applying [1/1] http://lists.johnnyrichard.com/olang/20240512143033.229961-4-carlos@maniero.me/
diff --git a/tests/integration/tests/0003_fn_without_type.ol b/tests/integration/tests/0003_fn_without_type.ol
new file mode 100644
index 0000000..32716e1
Checking patch tests/integration/tests/0003_fn_without_type.ol...
Applied patch tests/integration/tests/0003_fn_without_type.ol cleanly.
index at:
100644 32716e1abea59b4f950bbc22630d0a5cbad6f763 tests/integration/tests/0003_fn_without_type.ol
Code repositories for project(s) associated with this public inbox
https://git.johnnyrichard.com/olang.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox