adding optional else to executable semantics (#295)

* adding comments and some newlines

* added optonal else
This commit is contained in:
Jeremy G. Siek
2021-02-25 18:07:50 -05:00
committed by GitHub
parent a93ec369cb
commit 3ea84c9276
8 changed files with 584 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
fn main() -> Int {
if (1 == 1)
return 0;
return 1;
}