cleaned up some tests

This commit is contained in:
Araq 2015-02-09 12:42:00 +01:00
commit 247af96b00
25 changed files with 19 additions and 8 deletions

18
tests/modules/topaque.nim Normal file
View file

@ -0,0 +1,18 @@
discard """
file: "topaque.nim"
line: 16
errormsg: "undeclared identifier: \'buffer\'"
"""
# Test the new opaque types
import
mopaque
var
L: TLexer
L.filename = "ha"
L.line = 34
L.buffer[0] = '\0' #ERROR_MSG undeclared field: 'buffer'