Init new repository
This commit is contained in:
17
tests/regression_crash_on_decl_like_builtin.txt
Normal file
17
tests/regression_crash_on_decl_like_builtin.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
// #failed: resolve
|
||||
// #expected_error_count: 6
|
||||
OS_WINDOWS :: 10;
|
||||
|
||||
|
||||
String :: struct {
|
||||
a: int;
|
||||
}
|
||||
|
||||
int :: struct {
|
||||
i: long;
|
||||
}
|
||||
|
||||
// This should be OK
|
||||
UntypedFloat :: struct {
|
||||
a: float;
|
||||
}
|
||||
Reference in New Issue
Block a user