diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/playground.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/playground.kt b/test/playground.kt index 9eb7d879..5206e10e 100644 --- a/test/playground.kt +++ b/test/playground.kt @@ -34,6 +34,7 @@ class ClassWithConstructor( /** * This is data class with constructor and two properties + * Also look at [Employee] * * $name Person's name * $age Person's age @@ -41,6 +42,8 @@ class ClassWithConstructor( */ data class Person(val name: ClassWithConstructor, val age: Int) {} +data class Employee(val name: ClassWithConstructor, val age: Int) {} + object Object { throws(javaClass<IllegalArgumentException>()) fun objectFunction() { |