aboutsummaryrefslogtreecommitdiff
path: root/test/data/format/overridingFunction.kt
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/format/overridingFunction.kt')
-rw-r--r--test/data/format/overridingFunction.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/data/format/overridingFunction.kt b/test/data/format/overridingFunction.kt
new file mode 100644
index 00000000..d7329489
--- /dev/null
+++ b/test/data/format/overridingFunction.kt
@@ -0,0 +1,7 @@
+open class C() {
+ open fun f() {}
+}
+
+class D(): C() {
+ override fun f() {}
+}