From 8375f459638f942d51948d466d9365eaa0c2a500 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 22 Jan 2026 12:07:15 +0100 Subject: Add Kotlin grammar --- tests/test.kt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/test.kt (limited to 'tests') 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) +} -- cgit v1.2.3