aboutsummaryrefslogtreecommitdiff
path: root/tests/tast2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tast2.nim')
-rw-r--r--tests/tast2.nim7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/tast2.nim b/tests/tast2.nim
index 4741062..6d749c6 100644
--- a/tests/tast2.nim
+++ b/tests/tast2.nim
@@ -367,4 +367,9 @@ checkPragmas(GPU_Target, pHeaderBy, istype = false)
# Issue #185
assert AudioCVT is object
testFields(AudioCVT, "needed!cint")
-checkPragmas(AudioCVT, pHeaderBy, istype = false, "SDL_") \ No newline at end of file
+checkPragmas(AudioCVT, pHeaderBy, istype = false, "SDL_")
+
+# Issue #172
+assert SomeType is object
+testFields(SomeType, "x!ptr cstring")
+checkPragmas(SomeType, pHeaderImpBy) \ No newline at end of file