extend default to s64
This commit is contained in:
@@ -1,12 +1,27 @@
|
||||
#import "modules/std.sx";
|
||||
#import "modules/math.sx";
|
||||
|
||||
test :: () -> s32 {
|
||||
0;
|
||||
}
|
||||
|
||||
Vec4 :: Vector(4,f32);
|
||||
|
||||
main :: () {
|
||||
x:Type = f64;
|
||||
x : Type = f64;
|
||||
v:f64 = 3.2;
|
||||
print("{}\n", x);
|
||||
print("{}\n", v);
|
||||
|
||||
x= Vec4;
|
||||
x = Vec4;
|
||||
print("{}\n", x);
|
||||
|
||||
x = test;
|
||||
print("{}\n", x);
|
||||
}
|
||||
|
||||
// ** stdout **
|
||||
// f64
|
||||
// 3.200000
|
||||
// Vec4
|
||||
// () -> s32
|
||||
Reference in New Issue
Block a user