diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-28 23:54:33 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-28 23:54:33 +0000 |
commit | d2b330e0914441f4ce5c702425d11a59768d899d (patch) | |
tree | 75add27a3bbaccf32121005399af561058dd5ab1 /gcc/testsuite | |
parent | 06eb3ccd8a660aa8d0f6b113841813bbe867f84a (diff) | |
download | gcc-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.go | 2 |
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" |