Initial import
This commit is contained in:
commit
405b86068e
324 changed files with 163599 additions and 0 deletions
13
tests/tsizeof.nim
Executable file
13
tests/tsizeof.nim
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
# Test the sizeof proc
|
||||
|
||||
import
|
||||
io
|
||||
|
||||
type
|
||||
TMyRecord = record
|
||||
x, y: int
|
||||
b: bool
|
||||
r: float
|
||||
s: string
|
||||
|
||||
write(stdout, sizeof(TMyRecord))
|
||||
Loading…
Add table
Add a link
Reference in a new issue