aboutsummaryrefslogtreecommitdiff
path: root/test/playground.kt
diff options
context:
space:
mode:
Diffstat (limited to 'test/playground.kt')
-rw-r--r--test/playground.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/playground.kt b/test/playground.kt
index 54cdc958..9eb7d879 100644
--- a/test/playground.kt
+++ b/test/playground.kt
@@ -55,6 +55,12 @@ object Object {
}
+enum class Color(r: Int, g: Int, b: Int) {
+ Red : Color(100,0,0)
+ Green : Color(0,100,0)
+ Blue : Color(0,0,100)
+}
+
class OuterClass {
/**