peon/tests/operators.pn

6 lines
95 B
Plaintext
Raw Normal View History

2022-06-14 22:45:41 +02:00
operator `+`(a, b: int): int {
#pragma[magic: "AddInt64", pure]
}
2 + 2; # Works! :D