Add support for struct types, following p0561. (#856)

This commit is contained in:
Geoff Romer
2021-09-29 16:14:27 -07:00
committed by GitHub
parent d157d96338
commit c4e40aaa86
20 changed files with 674 additions and 44 deletions
+5 -3
View File
@@ -11,10 +11,12 @@
package ExecutableSemanticsTest api;
fn DoNothing() {
// Empty block
}
fn main() -> i32 {
var x: i32 = 0;
{
// empty block
}
DoNothing();
return x;
}