aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/data/function.kt2
-rw-r--r--test/playground.kt44
2 files changed, 44 insertions, 2 deletions
diff --git a/test/data/function.kt b/test/data/function.kt
deleted file mode 100644
index facbf677..00000000
--- a/test/data/function.kt
+++ /dev/null
@@ -1,2 +0,0 @@
-
-fun fn() {} \ No newline at end of file
diff --git a/test/playground.kt b/test/playground.kt
new file mode 100644
index 00000000..136995d1
--- /dev/null
+++ b/test/playground.kt
@@ -0,0 +1,44 @@
+// this file is not included in sources or tests, you can play with it for debug purposes
+// Console run configuration will analyse it and provide lots of debug output
+
+fun topLevelFunction() {
+}
+
+val topLevelConstantValue = "Hello"
+
+val topLevelValue : String
+ get() = "Bye bye"
+
+var topLevelVariable : String
+ get() = "Modify me!"
+ set(value) {
+ }
+
+class Class {
+ fun memberFunction() {
+ }
+
+}
+
+object Object {
+ fun objectFunction() {
+ }
+}
+
+class OuterClass {
+
+ class NestedClass {
+ fun nestedClassFunction() {
+ }
+ }
+
+ inner class InnerClass {
+ fun innerClassFunction() {
+ }
+ }
+
+ object NestedObject {
+ fun nestedObjectFunction() {
+ }
+ }
+} \ No newline at end of file