Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const start = struct {
- fn crash() bug() { return bug; }
- };
- fn bug() void {
- _ = @typeInfo(start).Struct;
- }
- test "example" {
- var boom = start.crash();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement