12 lines
214 B
Plaintext
12 lines
214 B
Plaintext
// #failed: resolve
|
|
// #error: invalid type in switch condition '*int', it should be an integer
|
|
|
|
main :: proc(): int {
|
|
i: *int = nil;
|
|
switch i {
|
|
case 0: {}
|
|
default: {}
|
|
}
|
|
|
|
return 0;
|
|
} |