diff options
Diffstat (limited to 'gcc/testsuite/go.test/test/fixedbugs/bug229.go')
-rw-r--r-- | gcc/testsuite/go.test/test/fixedbugs/bug229.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/go.test/test/fixedbugs/bug229.go b/gcc/testsuite/go.test/test/fixedbugs/bug229.go index fe0f0d8c75..a70a926da1 100644 --- a/gcc/testsuite/go.test/test/fixedbugs/bug229.go +++ b/gcc/testsuite/go.test/test/fixedbugs/bug229.go @@ -12,9 +12,9 @@ func main() { var t testing.T // make sure error mentions that - // ch is unexported, not just "ch not found". + // name is unexported, not just "name not found". - t.ch = nil // ERROR "unexported" + t.name = nil // ERROR "unexported" - println(testing.anyLowercaseName("asdf")) // ERROR "unexported" + println(testing.anyLowercaseName("asdf")) // ERROR "unexported" "undefined: testing.anyLowercaseName" } |