Halt and catch fire: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
|||
Line 137: | Line 137: | ||
=={{header|Julia}}== |
=={{header|Julia}}== |
||
To crash the running program: |
|||
<lang julia>@assert false "Halt and catch fire."</lang>{{out}}<pre>ERROR: AssertionError: Halt and catch fire.</pre> |
<lang julia>@assert false "Halt and catch fire."</lang>{{out}}<pre>ERROR: AssertionError: Halt and catch fire.</pre> |
||
To crash the LLVM virtual machine running julia with Exception: EXCEPTION_ILLEGAL_INSTRUCTION: |
|||
<lang julia>unsafe_load(convert(Ptr{Int}, C_NULL))</lang> |
|||
=={{header|Nim}}== |
=={{header|Nim}}== |