diff options
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/format/operatorOverloading.kt | 3 | ||||
-rw-r--r-- | test/data/format/operatorOverloading.md | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/test/data/format/operatorOverloading.kt b/test/data/format/operatorOverloading.kt new file mode 100644 index 00000000..6fe78e45 --- /dev/null +++ b/test/data/format/operatorOverloading.kt @@ -0,0 +1,3 @@ +class C { + fun plus(other: C): C +} diff --git a/test/data/format/operatorOverloading.md b/test/data/format/operatorOverloading.md new file mode 100644 index 00000000..fd0fa977 --- /dev/null +++ b/test/data/format/operatorOverloading.md @@ -0,0 +1,8 @@ +[test](test/index) / [C](test/-c/index) / [plus](test/-c/plus) + + +# plus + +`fun plus(other: [C](test/-c/index)): [C](test/-c/index)` +Implements **operator `+`** + |