- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 271 for GCCGO (0.06 sec)
-
test/fixedbugs/issue31412a.go
// compile // Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This code was incorrectly flagged as erroneous by gccgo. package main type Name string type EFunc func(int) int func Register(f EFunc, names ...Name) int { return f(len(names)) } const ( B Name = "B" ) func RegisterIt() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:17:26 UTC 2019 - 531 bytes - Viewed (0) -
test/fixedbugs/gcc61248.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // PR61248: Transformations to recover calls made them fail typechecking in gccgo. package main func main() { var f func(int, interface{}) go f(0, recover())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 336 bytes - Viewed (0) -
test/fixedbugs/issue32922.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This directory contains a pair of packages that triggers a compiler // error in gccgo (problem with the way inlinable call expressions are // imported). See issue 32922 for details.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 08 13:20:23 UTC 2019 - 377 bytes - Viewed (0) -
test/fixedbugs/issue38125.go
// compile // Copyright 2020 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // gccgo mishandled embedded methods of type aliases. package p type I int func (I) M() {} type T = struct { I } func F() { _ = T.M _ = struct { I }.M
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 28 23:43:22 UTC 2020 - 333 bytes - Viewed (0) -
test/fixedbugs/gcc61253.go
// compile // Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // PR61253: gccgo incorrectly parsed the // `RecvStmt = ExpressionList "=" RecvExpr` production. package main func main() { c := make(chan int) v := new(int) b := new(bool) select { case (*v), (*b) = <-c: }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 390 bytes - Viewed (0) -
test/fixedbugs/bug439.go
// compile // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Gccgo used to crash compiling this. package p type E int func (e E) P() *E { return &e } const ( C1 E = 0 C2 = C1 ) func F() *E { return C2.P()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 15 20:29:46 UTC 2012 - 329 bytes - Viewed (0) -
test/fixedbugs/bug307.go
// compile // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Valid program, gccgo reported an error. // bug307.go:14:6: error: complex arguments must have identical types package main func main() { var f float64 _ = complex(1/f, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:59 UTC 2012 - 352 bytes - Viewed (0) -
test/fixedbugs/bug421.go
// errorcheck // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 1927. // gccgo failed to issue the first error below. package main func main() { println(int(1) == uint(1)) // ERROR "types" var x int = 1 var y uint = 1 println(x == y) // ERROR "types"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 01:52:05 UTC 2012 - 381 bytes - Viewed (0) -
test/fixedbugs/bug431.go
// compile // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // gccgo gave an invalid error ("floating point constant truncated to // integer") compiling this. package p const C = 1<<63 - 1 func F(i int64) int64 { return i }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 30 15:42:21 UTC 2012 - 367 bytes - Viewed (0) -
test/fixedbugs/bug498.go
// run // Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Gccgo incorrectly rejected an assignment to multiple instances of // the same variable. package main var a int func F() { a, a, a = 1, 2, 3 } func main() { F() if a != 3 { panic(a) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 14:19:45 UTC 2016 - 366 bytes - Viewed (0)