* fixes #21116; always mangles the param * idOrSig * fixes tests * Apply suggestions from code review
This commit is contained in:
parent
7fa983f5e6
commit
d83f66a24d
3 changed files with 12 additions and 6 deletions
10
tests/ccgbugs/t21116.nim
Normal file
10
tests/ccgbugs/t21116.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
target: "c cpp"
|
||||
disabled: windows
|
||||
"""
|
||||
# bug #21116
|
||||
import std/os
|
||||
|
||||
proc p(glob: string) =
|
||||
for _ in walkFiles(glob): discard
|
||||
p("dir/*")
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
ccodecheck: "\\i@'NI* NIM_NOALIAS field;' @'NIM_CHAR* NIM_NOALIAS x,' @'void* NIM_NOALIAS q'"
|
||||
ccodecheck: "\\i@'NI* NIM_NOALIAS field;' @'NIM_CHAR* NIM_NOALIAS x__0qEngDE9aYoYsF8tWnyPacw,' @'void* NIM_NOALIAS q'"
|
||||
"""
|
||||
|
||||
type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue