diff options
author | lauras <lauras@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-01 15:27:54 +0000 |
---|---|---|
committer | lauras <lauras@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-01 15:27:54 +0000 |
commit | be8a82b8e4ad4886a4fc8210ea7f6b48bd0f10ee (patch) | |
tree | ecda0ba13ac028840ac2f39d6c13789ed98bcedb /gcc/testsuite/go.test/test/fixedbugs/bug206.go | |
parent | 9034761137f5fcdf7a46f9a545136fa615e7bafc (diff) | |
parent | 96b07a493754f1f2d72c564bb3e071b541f0e351 (diff) | |
download | gcc-be8a82b8e4ad4886a4fc8210ea7f6b48bd0f10ee.tar.gz |
Merge from trunk up to r170497
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gc-improv@170594 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/go.test/test/fixedbugs/bug206.go')
-rw-r--r-- | gcc/testsuite/go.test/test/fixedbugs/bug206.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/go.test/test/fixedbugs/bug206.go b/gcc/testsuite/go.test/test/fixedbugs/bug206.go index 3879e8cbd57..7efc0b14afb 100644 --- a/gcc/testsuite/go.test/test/fixedbugs/bug206.go +++ b/gcc/testsuite/go.test/test/fixedbugs/bug206.go @@ -10,14 +10,14 @@ import "go/ast"; func g(list []ast.Expr) { n := len(list)-1; - println(list[n].Pos().Line); + println(list[n].Pos()); } // f is the same as g except that the expression assigned to n is inlined. func f(list []ast.Expr) { // n := len(list)-1; - println(list[len(list)-1 /* n */].Pos().Line); + println(list[len(list)-1 /* n */].Pos()); } |