testsuite: XFAIL gfortran.dg/initialization_25.f90 properly (again)
[official-gcc.git] / gcc / testsuite / go.test / test / func1.go
blobfb6f56184fac2b683efd4c9f7d77856cf582a68b
1 // errorcheck
3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Test that result parameters are in the same scope as regular parameters.
8 // Does not compile.
10 package main
12 func f1(a int) (int, float32) {
13 return 7, 7.0
17 func f2(a int) (a int, b float32) { // ERROR "duplicate argument a|definition"
18 return 8, 8.0