aboutsummaryrefslogtreecommitdiff
path: root/examples/numeral.ct
diff options
context:
space:
mode:
Diffstat (limited to 'examples/numeral.ct')
-rw-r--r--examples/numeral.ct35
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;
-}