tcodegenbug_bool.nim 130 B

123456789101112
  1. discard """
  2. """
  3. # issue #13798
  4. {.emit:"""
  5. #include <stdbool.h>
  6. void fun(bool a){}
  7. """.}
  8. proc fun(a: bool) {.importc.}
  9. fun(true)