summary refs log tree commit diff stats
path: root/tests/stdlib/tos_unc.nim
Commit message (Expand)AuthorAgeFilesLines
* fixes #10952, UNC paths (#11260)Miran2019-05-161-0/+9
17-07-25 09:28:23 +0200 Remove expr/stmt (#5857)' href='/ahoang/Nim/commit/tests/vm/texcl.nim?h=devel&id=000b8afd26fa16684a116d9afe798ea94df9c270'>000b8afd2 ^
60a400eeb ^

000b8afd2 ^
60a400eeb ^




000b8afd2 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
















                                       
 

                        
                    




                         
                      
discard """
  output: '''false'''
"""

import macros

type
  nlOptions = enum
    nloNone
    nloDebug

var nlOpts {.compileTime.} = {nloDebug}

proc initOpts(): set[nlOptions] =
  result.incl nloDebug
  result.incl nloNone
  result.excl nloDebug

const cOpts = initOpts()

macro nlo(): typed =
  nlOpts.incl(nloNone)
  nlOpts.excl(nloDebug)
  result = newEmptyNode()

nlo()
echo nloDebug in cOpts