aboutsummaryrefslogtreecommitdiff
path: root/go/ssa/testdata/src/sort/sort.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/ssa/testdata/src/sort/sort.go')
-rw-r--r--go/ssa/testdata/src/sort/sort.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/go/ssa/testdata/src/sort/sort.go b/go/ssa/testdata/src/sort/sort.go
new file mode 100644
index 000000000..d0b0e9942
--- /dev/null
+++ b/go/ssa/testdata/src/sort/sort.go
@@ -0,0 +1,13 @@
+package sort
+
+func Strings(x []string)
+func Ints(x []int)
+func Float64s(x []float64)
+
+func Sort(data Interface)
+
+type Interface interface {
+ Len() int
+ Less(i, j int) bool
+ Swap(i, j int)
+}