- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 271 for GCCGO (0.07 sec)
-
test/fixedbugs/issue31412b.go
// errorcheck // 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 accepted by gccgo. package main type N string type M string const B N = "B" const C M = "C" func main() { q := B + C // ERROR "mismatched types|incompatible types" println(q)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:17:26 UTC 2019 - 387 bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_c_gccgo.c
// Copyright 2013 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. //go:build gccgo #include "_cgo_export.h" #include <stdint.h> #include <stdio.h> #include <stdlib.h> /* Test calling panic from C. This is what SWIG does. */ extern void _cgo_panic(const char *); extern void *_cgo_allocate(size_t); void callPanic(void) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 452 bytes - Viewed (0) -
test/fixedbugs/issue10047.go
// compile // Copyright 2015 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 10047: gccgo failed to compile a type switch where the switch variable // and the base type of a case share the same identifier. package main func main() { type t int var p interface{} switch t := p.(type) { case t: _ = t }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 416 bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_asm.txt
[short] skip [compiler:gccgo] skip # gccgo has no cover tool # Test cover for a package that has an assembly function. go test -outputdir=$WORK -coverprofile=cover.out coverasm go tool cover -func=$WORK/cover.out stdout '\tg\t*100.0%' # Check g is 100% covered. ! stdout '\tf\t*[0-9]' # Check for no coverage on the assembly function -- go.mod -- module coverasm go 1.16 -- p.go -- package p func f() func g() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 604 bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_modes.txt
env GO111MODULE=off # Coverage analysis should use 'set' mode by default, # and should merge coverage profiles correctly. [short] skip [compiler:gccgo] skip # gccgo has no cover tool go test -short -cover encoding/binary errors -coverprofile=$WORK/cover.out ! stderr '[^0-9]0\.0%' ! stdout '[^0-9]0\.0%' grep -count=1 '^mode: set$' $WORK/cover.out grep 'errors\.go' $WORK/cover.out grep 'binary\.go' $WORK/cover.out [!race] stop
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 678 bytes - Viewed (0) -
test/fixedbugs/bug496.go
// compile // Copyright 2015 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 give an error: // <built-in>: error: redefinition of ‘s$F$hash’ // <built-in>: note: previous definition of ‘s$F$hash’ was here // <built-in>: error: redefinition of ‘s$F$equal’ // <built-in>: note: previous definition of ‘s$F$equal’ was here package p
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 20 13:31:30 UTC 2015 - 589 bytes - Viewed (0) -
test/fixedbugs/issue21770.go
// errorcheck // Copyright 2017 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 21770: gccgo incorrectly accepts "p.f = 0" where p is **struct package p type PP **struct{ f int } func f() { // anonymous type var p **struct{ f int } p.f = 0 // ERROR "field" // named type var p2 PP p2.f = 0 // ERROR "field"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 09 13:32:23 UTC 2017 - 422 bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/00-bug.yml
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 04 23:31:17 UTC 2024 - 3.3K bytes - Viewed (0) -
test/fixedbugs/gcc61265.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. // PR61265: The gccgo middle-end failed to represent array composite literals // where the elements are zero-sized values. // This is a reduction of a program reported by GoSmith. package p var a = [1][0]int{B}[0] var B = [0]int{} var c = [1]struct{}{D}[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 450 bytes - Viewed (0) -
test/fixedbugs/bug482.go
// license that can be found in the LICENSE file. // Using the same name for a field in a composite literal and for a // global variable that depends on the variable being initialized // caused gccgo to erroneously report "variable initializer refers to // itself". package p type S struct { F int } var V = S{F: 1}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 455 bytes - Viewed (0)