1 parent
d4457e9fa4
commit
625b98eac4
4 files changed
+20
-14
No files matched your search
+12
-4
@@ -1,6 +1,14 @@
|
||||
#import "fmt.odin";
|
||||
#import "sync.odin";
|
||||
Test1 :: type union {
|
||||
A: int;
|
||||
B: int;
|
||||
};
|
||||
|
||||
Test :: type struct {
|
||||
a: Test1;
|
||||
};
|
||||
|
||||
main :: proc() {
|
||||
fmt.println("Hellope");
|
||||
}
|
||||
test: Test;
|
||||
match type x : ^test.a {
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user