mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 20:46:42 +00:00
adding optional else to executable semantics (#295)
* adding comments and some newlines * added optonal else
This commit is contained in:
1 parent
a93ec369cb
commit
3ea84c9276
8 files changed
+584
-2
No files matched your search
Vendored
+10
@@ -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 (0 == 1)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user