Files
lib_compiler/tests/uninitialized.txt
2024-04-13 15:29:53 +02:00

13 lines
285 B
Plaintext

import "libc";
S :: struct {i: int; j: int;}
U :: union {i: int; j: float;}
main :: proc(): int {
thing: int; @unused @not_init
string: String; @unused @not_init
other: *char; @unused @not_init
s: S; @unused @not_init
u: U; @unused @not_init
return 0;
}