aboutsummaryrefslogtreecommitdiff
path: root/test/data/format/accessor.kt
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/format/accessor.kt')
-rw-r--r--test/data/format/accessor.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/data/format/accessor.kt b/test/data/format/accessor.kt
new file mode 100644
index 00000000..b6ed9624
--- /dev/null
+++ b/test/data/format/accessor.kt
@@ -0,0 +1,5 @@
+class C() {
+ var x: String
+ get() = ""
+ set(value) { }
+}