aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/arrayAverage.kt
diff options
context:
space:
mode:
Diffstat (limited to 'core/testdata/format/arrayAverage.kt')
-rw-r--r--core/testdata/format/arrayAverage.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/testdata/format/arrayAverage.kt b/core/testdata/format/arrayAverage.kt
new file mode 100644
index 00000000..1f9e12db
--- /dev/null
+++ b/core/testdata/format/arrayAverage.kt
@@ -0,0 +1,8 @@
+class XArray<T>
+
+fun XArray<out Byte>.average(): Double = 0.0
+fun XArray<out Double>.average(): Double = 0.0
+fun XArray<out Float>.average(): Double = 0.0
+fun XArray<out Int>.average(): Double = 0.0
+fun XArray<out Long>.average(): Double = 0.0
+fun XArray<out Short>.average(): Double = 0.0