summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug295.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug295.go')
-rw-r--r--test/fixedbugs/bug295.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/fixedbugs/bug295.go b/test/fixedbugs/bug295.go
index e2e5206ca..63a12a3a7 100644
--- a/test/fixedbugs/bug295.go
+++ b/test/fixedbugs/bug295.go
@@ -6,7 +6,9 @@
package main
-import . "testing" // defines top-level T
+import . "testing" // defines file-level T
+
+type _ B // make use of package "testing" (but don't refer to T)
type S struct {
T int