diff options
Diffstat (limited to 'tests/lexer/tident.nim')
-rw-r--r-- | tests/lexer/tident.nim | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/tests/lexer/tident.nim b/tests/lexer/tident.nim index 68cc01e70..e5177436d 100644 --- a/tests/lexer/tident.nim +++ b/tests/lexer/tident.nim @@ -1,6 +1,19 @@ +discard """ +output: ''' +Length correct +Correct +Correct +Correct +Correct +Correct +Correct +Correct +Correct +''' +""" type - TIdObj* = object of TObject + TIdObj* = object of RootObj id*: int # unique id; use this for comparisons and not the pointers PIdObj* = ref TIdObj @@ -19,4 +32,3 @@ proc myNewString(L: int): string {.inline.} = echo("Wrong") var s = myNewString(8) - |