boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

009-die-noloc.scm (284B)


      1 ;; tests/cc-util/09-die-noloc.scm — die with loc=#f writes "error: <msg>: <ir>..."
      2 ;; to fd 2 and exits 1.
      3 ;; Assumes cc/util.scm is loaded.
      4 ;;
      5 ;; Expected output (merged stdout+stderr):
      6 ;;   error: bad token: unexpected 42
      7 ;; Expected exit: 1
      8 
      9 (die #f "bad token" "unexpected" 42)