summaryrefslogtreecommitdiffstats
path: root/test/typeparam/dedup.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/typeparam/dedup.go')
-rw-r--r--test/typeparam/dedup.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/typeparam/dedup.go b/test/typeparam/dedup.go
new file mode 100644
index 0000000..3b98e03
--- /dev/null
+++ b/test/typeparam/dedup.go
@@ -0,0 +1,12 @@
+// rundir
+
+// Copyright 2021 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// Note: this doesn't really test the deduplication of
+// instantiations. It just provides an easy mechanism to build a
+// binary that you can then check with objdump manually to make sure
+// deduplication is happening. TODO: automate this somehow?
+
+package ignored