aboutsummaryrefslogtreecommitdiff
path: root/test/data/properties
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/properties')
-rw-r--r--test/data/properties/propertyOverride.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/data/properties/propertyOverride.kt b/test/data/properties/propertyOverride.kt
new file mode 100644
index 00000000..625d1da0
--- /dev/null
+++ b/test/data/properties/propertyOverride.kt
@@ -0,0 +1,7 @@
+open class Foo() {
+ open val xyzzy: Int get() = 0
+}
+
+class Bar(): Foo() {
+ override val xyzzy: Int get() = 1
+}