Advertisement
Guest User

Untitled

a guest
Aug 26th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1. const start = struct {
  2.     fn crash() bug() { return bug; }
  3. };
  4.  
  5. fn bug() void {
  6.     _ = @typeInfo(start).Struct;
  7. }
  8.  
  9. test "example" {
  10.     var boom = start.crash();
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement