• JakenVeina@lemm.ee
    link
    fedilink
    arrow-up
    16
    ·
    9 months 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
      ·
      9 months 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
      ·
      9 months ago

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