c30492f0de5727445f9ab667e572df26386116d5 blob 943 bytes (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
| | # spec: A minimal olang program
fn main(): u32 {
return 0
}
# compiler_exit: 0
# compiler_output: %empty%
# program_exit: 0
#
# ast: Translation_Unit
# ast: `-Function_Definition <name:main> <return:0>
# ast: `-Block
# ast: `-Return_Statement
# ast: `-Literal <kind:u32> <value:0>
#
# tokens: ./tests/0001_main_exit.ol:1:32: <line_feed>
# tokens: ./tests/0001_main_exit.ol:2:1: <fn>
# tokens: ./tests/0001_main_exit.ol:2:4: <identifier>
# tokens: ./tests/0001_main_exit.ol:2:8: <(>
# tokens: ./tests/0001_main_exit.ol:2:9: <)>
# tokens: ./tests/0001_main_exit.ol:2:10: <:>
# tokens: ./tests/0001_main_exit.ol:2:12: <identifier>
# tokens: ./tests/0001_main_exit.ol:2:16: <{>
# tokens: ./tests/0001_main_exit.ol:2:17: <line_feed>
# tokens: ./tests/0001_main_exit.ol:3:3: <return>
# tokens: ./tests/0001_main_exit.ol:3:10: <number>
# tokens: ./tests/0001_main_exit.ol:3:11: <line_feed>
# tokens: ./tests/0001_main_exit.ol:4:1: <}>
|
debug log:
solving c30492f ...
found c30492f in http://lists.johnnyrichard.com/olang/20240512143033.229961-2-carlos@maniero.me/
applying [1/1] http://lists.johnnyrichard.com/olang/20240512143033.229961-2-carlos@maniero.me/
diff --git a/tests/integration/tests/0001_main_exit.ol b/tests/integration/tests/0001_main_exit.ol
new file mode 100644
index 0000000..c30492f
1:14: trailing whitespace.
#
Checking patch tests/integration/tests/0001_main_exit.ol...
Applied patch tests/integration/tests/0001_main_exit.ol cleanly.
warning: 1 line adds whitespace errors.
index at:
100644 c30492f0de5727445f9ab667e572df26386116d5 tests/integration/tests/0001_main_exit.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