summary refs log blame commit diff stats
path: root/tests/module/topaque.nim
blob: f0587c959f65f13ded3a2de92b17de20d8c39920 (plain) (tree)
1
2
3
4
5


                     
                                               
   










                                                        

 
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'