OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [go.test/] [test/] [fixedbugs/] [bug007.go] - Blame information for rev 700

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 700 jeremybenn
// $G $D/$F.go && $L $F.$A && ./$A.out
2
 
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.
6
 
7
package main
8
 
9
type (
10
        Point struct {
11
                x, y float64
12
        }
13
        Polar Point
14
)
15
 
16
func main() {
17
}
18
 
19
/*
20
bug7.go:5: addtyp: renaming Point to Polar
21
main.go.c:14: error: redefinition of typedef ‘_T_2’
22
main.go.c:13: error: previous declaration of ‘_T_2’ was here
23
main.go.c:16: error: redefinition of ‘struct _T_2’
24
*/

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.