diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-14 20:44:26 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-14 20:44:26 +0300 |
| commit | 2023a7b2d9656f80b00de81453348c0a66f200f7 (patch) | |
| tree | 06e4ea293318955cc4cf620428d04f1708c17364 /examples/numeral.ct | |
| parent | 1a56a881bc2c37614cfd074e7b986211c6d04809 (diff) | |
| download | ek-2023a7b2d9656f80b00de81453348c0a66f200f7.tar.gz ek-2023a7b2d9656f80b00de81453348c0a66f200f7.zip | |
test cleanup
+ Somewhat poor Git hygiene but I also fixed some bugs while I was at
it.
Diffstat (limited to 'examples/numeral.ct')
| -rw-r--r-- | examples/numeral.ct | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/examples/numeral.ct b/examples/numeral.ct deleted file mode 100644 index 38936e9..0000000 --- a/examples/numeral.ct +++ /dev/null @@ -1,35 +0,0 @@ -/* good optimisation target: make these built in */ -type numeral { - u8; - u16; - u32; - u64; - i8; - i16; - i32; - i64; - isize; - usize; - float; - double; -} - -pub init(mut a *numeral) -{ - *a = 0; -} - -pub deinit(mut a *numeral) -{ - *a = 0; -} - -pub copy(mut a *numeral, b *numeral) -{ - *a = *b; -} - -pub move(mut a *numeral, mut b *numeral) -{ - *a = *b; -} |
