t22996.nim 127 B

12345678
  1. discard """
  2. errormsg: "invalid type: 'typedesc[string]' for const"
  3. """
  4. # bug #22996
  5. type MyObject = ref object
  6. _ = string