Add a test case for issue #4675.

This commit is contained in:
Matthew Baulch 2016-09-03 21:21:06 +10:00
commit 9a2b98cd8b
3 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,5 @@
type
Field* = object
elemSize*: int
template `+`*(x: untyped, y: Field): untyped = x