Files
Nim/tests/stdlib/tsqlparser.nim
ringabout 4fa86422c0 stdlib tests now check refc too (#21664)
* stdlib tests now check refc too

* typo

* fixes line numbers

* disable cpp

* do not touch
2023-04-21 15:37:58 +02:00

14 lines
302 B
Nim

discard """
matrix: "--mm:refc; --mm:orc"
output: '''true'''
"""
# Just check that we can parse 'somesql' and render it without crashes.
import parsesql, streams, os
var tree = parseSql(newFileStream(parentDir(currentSourcePath) / "somesql.sql"), "somesql")
discard renderSql(tree)
echo "true"