summaryrefslogtreecommitdiff
path: root/tests/test.kt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.kt')
-rw-r--r--tests/test.kt17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test.kt b/tests/test.kt
new file mode 100644
index 0000000..7f50ab9
--- /dev/null
+++ b/tests/test.kt
@@ -0,0 +1,17 @@
+fun hello() {
+ println("Hello, World!")
+}
+
+fun add(a: Int, b: Int): Int {
+ return a + b
+}
+
+class MyClass {
+ fun myMethod() {
+ println("Method")
+ }
+}
+
+fun String.extensionFunc() {
+ println(this)
+}