mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Reverse 'type: identifier' to 'identifier: type' in executable
semantics.
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
||||
// Test that mutations to a global variable in one function is visible
|
||||
// in another function.
|
||||
|
||||
var Int: flag = 1;
|
||||
var flag: Int = 1;
|
||||
|
||||
fn flipFlag() -> () {
|
||||
flag = 0;
|
||||
|
||||
Reference in New Issue
Block a user