summaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-28 23:54:33 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-28 23:54:33 +0000
commitd2b330e0914441f4ce5c702425d11a59768d899d (patch)
tree75add27a3bbaccf32121005399af561058dd5ab1 /gcc/testsuite
parent06eb3ccd8a660aa8d0f6b113841813bbe867f84a (diff)
downloadgcc-d2b330e0914441f4ce5c702425d11a59768d899d.tar.gz
Permit copying hidden fields when passing method receiver.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171641 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/go.test/test/fixedbugs/bug226.dir/y.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/go.test/test/fixedbugs/bug226.dir/y.go b/gcc/testsuite/go.test/test/fixedbugs/bug226.dir/y.go
index 01e8b7b4373..c66d592b7c0 100644
--- a/gcc/testsuite/go.test/test/fixedbugs/bug226.dir/y.go
+++ b/gcc/testsuite/go.test/test/fixedbugs/bug226.dir/y.go
@@ -15,7 +15,7 @@ func f() {
_ = x.T{};
_ = x.T{Y:2};
- ok1.M(); // ERROR "assignment.*T"
+ ok1.M();
bad1 := *ok; // ERROR "assignment.*T"
bad2 := ok1; // ERROR "assignment.*T"
*ok4 = ok1; // ERROR "assignment.*T"