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
7 lines
133 B
Nim
7 lines
133 B
Nim
{.emit:"""
|
|
NIM_STATIC_ASSERT(sizeof(bool) == 1, "");
|
|
#warning "foo2"
|
|
NIM_STATIC_ASSERT(sizeof(bool) == 2, "");
|
|
#warning "foo3"
|
|
""".}
|