summary refs log blame commit diff stats
path: root/tests/deprecated/tmodule1.nim
blob: f26e4ce3fd5ae270e193c2fcf0509ba92efbd6e9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
           








                                                                         


   






         












               
discard """
  matrix: "--hint:all:off"
  nimoutFull: true
  nimout: '''
tmodule1.nim(21, 8) Warning: goodbye; importme is deprecated [Deprecated]
tmodule1.nim(24, 10) Warning: Ty is deprecated [Deprecated]
tmodule1.nim(27, 10) Warning: hello; Ty1 is deprecated [Deprecated]
tmodule1.nim(30, 8) Warning: aVar is deprecated [Deprecated]
tmodule1.nim(32, 3) Warning: aProc is deprecated [Deprecated]
tmodule1.nim(33, 3) Warning: hello; aProc1 is deprecated [Deprecated]
'''
"""







# line 20
import importme

block:
  var z: Ty
  z = 0
block:
  var z: Ty1
  z = 0
block:
  echo aVar
block:
  aProc()
  aProc1()