mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
* fix cgen bool D20200328T203812 * --passc:std=c++17 (etc) now works instead of silently ignored * document caveats for NIM_NIL
12 lines
130 B
Nim
12 lines
130 B
Nim
discard """
|
|
"""
|
|
|
|
# issue #13798
|
|
{.emit:"""
|
|
#include <stdbool.h>
|
|
void fun(bool a){}
|
|
""".}
|
|
|
|
proc fun(a: bool) {.importc.}
|
|
fun(true)
|