summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue15514.dir/c.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue15514.dir/c.go')
-rw-r--r--test/fixedbugs/issue15514.dir/c.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/fixedbugs/issue15514.dir/c.go b/test/fixedbugs/issue15514.dir/c.go
new file mode 100644
index 0000000..dc2ef5b
--- /dev/null
+++ b/test/fixedbugs/issue15514.dir/c.go
@@ -0,0 +1,10 @@
+// Copyright 2016 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.
+
+package c
+
+import "./a"
+import "./b"
+
+var _ a.A = b.B() // ERROR "cannot use b\.B|incompatible type"