• JakenVeina@lemm.ee
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    The loop will run to completion with no side effects. Unless it gets optimized away by the compiler or CPU.

    • vext01@lemmy.sdf.org
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      Now slap some commas in there and you can have side effects in the loop header.

      Guaranteed to confuse :)

    • Miaou@jlai.lu
      link
      fedilink
      arrow-up
      4
      arrow-down
      2
      ·
      1 year ago

      It’s actually ub, so it could also find the cure to cancer