summary refs log tree commit diff stats
path: root/tests/macros/tclosuremacro.nim
Commit message (Expand)AuthorAgeFilesLines
* fixes anon procs created by macrosAndreas Rumpf2017-07-111-1/+32
* use 'using' instead of 'sig' keyword; cleans up new features a bitAndreas Rumpf2016-02-291-1/+1
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-1/+1
* implemented 'koch pdf'Araq2014-12-191-0/+43
github.com> 2020-12-28 14:13:21 +0100 use doAssert in tests (#16486)' href='/ahoang/Nim/commit/tests/vm/toverflowopcmulint.nim?h=devel&id=6d442a40a6f89572052d61aeb73ec26d1f3451ce'>6d442a40a ^
52c6956d1 ^
1
2
3
4
5
6
7
8
9
10
11






                                
                      
                 
                  
     
discard """
  errormsg: "over- or underflow"
"""

static:
  proc p =
    var
      x = 1'i64 shl 62
    discard x * 2
    doAssert false
  p()