summary refs log tree commit diff stats
path: root/tests/macros/t18235.nim
blob: ba5c48a24b4d669e10dad7a67a97dbeb9f9730f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import m18235

# this must error out because it was never actually exported
doAssert(not declared(foo))
doAssert not compiles(foo())

doAssert(not declared(foooof))
doAssert not compiles(foooof())

doAssert(not declared(oof))
doAssert not compiles(oof())

# this should have been exported just fine

bar()
barrab()
rab()
baz()