diff options
Diffstat (limited to 'tests/legacy/examples/lib/asm.go')
-rw-r--r-- | tests/legacy/examples/lib/asm.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/legacy/examples/lib/asm.go b/tests/legacy/examples/lib/asm.go new file mode 100644 index 00000000..a65f29d5 --- /dev/null +++ b/tests/legacy/examples/lib/asm.go @@ -0,0 +1,14 @@ +package lib + +import "fmt" + +func add(x, y int64) int64 +func sub(x, y int64) int64 + +func AddTwoNumbers() { + fmt.Println("2 + 3 =", add(2, 3)) +} + +func SubTwoNumbers() { + fmt.Println("2 - 3 =", sub(2, 3)) +}
\ No newline at end of file |