mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-30 03:03:57 +00:00
* fixes #21116; always mangles the param * idOrSig * fixes tests * Apply suggestions from code review
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user