diff options
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/classes/indirectOverride.kt | 9 | ||||
-rw-r--r-- | test/data/format/overridingFunction.kt | 7 | ||||
-rw-r--r-- | test/data/format/overridingFunction.md | 13 |
3 files changed, 29 insertions, 0 deletions
diff --git a/test/data/classes/indirectOverride.kt b/test/data/classes/indirectOverride.kt new file mode 100644 index 00000000..8d091b80 --- /dev/null +++ b/test/data/classes/indirectOverride.kt @@ -0,0 +1,9 @@ +abstract class C() { + abstract fun foo() +} + +abstract class D(): C() + +class E(): D() { + override fun foo() {} +} 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() {} +} diff --git a/test/data/format/overridingFunction.md b/test/data/format/overridingFunction.md new file mode 100644 index 00000000..b53b3e13 --- /dev/null +++ b/test/data/format/overridingFunction.md @@ -0,0 +1,13 @@ +[test](out.md) / [](out.md) / [D](out.md) / [f](out.md) + + +# f + + +``` +fun f(): Unit +``` + +Overrides [C.f](out.md) + + |