mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-25 10:50:12 +01:00
12 lines
249 B
Plaintext
12 lines
249 B
Plaintext
********** source program **********
|
|
fn main () -> Int {
|
|
Int: x;
|
|
return 1;
|
|
|
|
}
|
|
********** type checking **********
|
|
--- step exp Int --->
|
|
--- step exp Int --->
|
|
6: compilation error, pattern variables are only allowed in pattern context
|
|
EXIT CODE: 255
|