aboutsummaryrefslogtreecommitdiff
path: root/test/playground.kt
diff options
context:
space:
mode:
Diffstat (limited to 'test/playground.kt')
-rw-r--r--test/playground.kt44
1 files changed, 44 insertions, 0 deletions
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