diff options
Diffstat (limited to 'tests/tisopr.nim')
-rwxr-xr-x | tests/tisopr.nim | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/tisopr.nim b/tests/tisopr.nim deleted file mode 100755 index d52859b09..000000000 --- a/tests/tisopr.nim +++ /dev/null @@ -1,20 +0,0 @@ -# Test is operator - -type - TMyType = object - len: int - data: string - - TOtherType = object of TMyType - -proc p(x: TMyType): bool = - return x is TOtherType - -var - m: TMyType - n: TOtherType - -write(stdout, p(m)) -write(stdout, p(n)) - -#OUT falsetrue |