- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 69 for bug369 (0.34 sec)
-
test/fixedbugs/bug369.go
package main import ( "fmt" "io/ioutil" "os" "os/exec" "path/filepath" ) func main() { err := os.Chdir(filepath.Join(".", "fixedbugs", "bug369.dir")) check(err) tmpDir, err := ioutil.TempDir("", "bug369") check(err) defer os.RemoveAll(tmpDir) tmp := func(name string) string { return filepath.Join(tmpDir, name) } check(os.Mkdir(tmp("test"), 0777))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stdlib_test.go
if testing.Short() && testenv.Builder() == "" { t.Skip("skipping in short mode") } testTestDir(t, filepath.Join(testenv.GOROOT(t), "test", "fixedbugs"), "bug248.go", "bug302.go", "bug369.go", // complex test instructions - ignore "bug398.go", // types2 doesn't check for anonymous interface cycles (go.dev/issue/56103) "issue6889.go", // gc-specific test "issue11362.go", // canonical import path check
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:18:33 UTC 2024 - 13.3K bytes - Viewed (0) -
src/go/types/stdlib_test.go
if testing.Short() && testenv.Builder() == "" { t.Skip("skipping in short mode") } testTestDir(t, filepath.Join(testenv.GOROOT(t), "test", "fixedbugs"), "bug248.go", "bug302.go", "bug369.go", // complex test instructions - ignore "bug398.go", // go/types doesn't check for anonymous interface cycles (go.dev/issue/56103) "issue6889.go", // gc-specific test "issue11362.go", // canonical import path check
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 04:39:56 UTC 2023 - 13.7K bytes - Viewed (0) -
test/fixedbugs/bug236.go
func main() { gen = 'a' if v1 != "aAbB" { panic("BUG: bug236a") } if v2 != "cCdD" { panic("BUG: bug236b") } if v3 != "eEfFgGhHiI" { panic("BUG: bug236c") } switch "aAbB" { case f(1) + f(2): default: panic("BUG: bug236d") } switch "cCdD" { case g(f(3), f(4)): default: panic("BUG: bug236e") } switch "eEfFgGhHiI" { case f(5) + f(6) + f(7) + f(8) + f(9):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 831 bytes - Viewed (0) -
test/fixedbugs/bug309.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. // issue 1016 package bug309 func foo(t interface{}, c chan int) { switch v := t.(type) { case int: select { case <-c: // bug was: internal compiler error: var without type, init: v } default: _ = v }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 392 bytes - Viewed (0) -
test/fixedbugs/bug109.go
// license that can be found in the LICENSE file. package bug109 func f(a float64) float64 { e := 1.0 e = e * a return e } /* 6g bugs/bug109.go bugs/bug109.go:5: illegal types for operand: MUL (<float64>FLOAT64) (<float32>FLOAT32) bugs/bug109.go:5: illegal types for operand: AS (<float64>FLOAT64) bugs/bug109.go:6: illegal types for operand: RETURN (<float32>FLOAT32) (<float64>FLOAT64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 523 bytes - Viewed (0) -
test/fixedbugs/bug096.go
// license that can be found in the LICENSE file. package main type A []int; func main() { a := &A{0}; b := &A{0, 1}; _, _ = a, b; } /* uetli:~/Source/go1/test/bugs gri$ 6g bug096.go && 6l bug096.6 && 6.out Trace/BPT trap uetli:~/Source/go1/test/bugs gri$ */ /* It appears that the first assignment changes the size of A from open into a fixed array.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 483 bytes - Viewed (0) -
test/fixedbugs/bug068.go
package main const c = '\''; // this works const s = "\'"; // ERROR "invalid|escape" /* There is no reason why the escapes need to be different inside strings and chars. uetli:~/go/test/bugs gri$ 6g bug068.go bug068.go:6: unknown escape sequence: '
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 520 bytes - Viewed (0) -
test/fixedbugs/bug063.go
// compile // Copyright 2009 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. package bug063
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 203 bytes - Viewed (0) -
test/fixedbugs/bug089.go
// license that can be found in the LICENSE file. package main type I1 interface {} type I2 interface { pr() } func e() I1; var i1 I1; var i2 I2; func main() { i2 = e().(I2); // bug089.go:16: fatal error: agen_inter i2i
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 350 bytes - Viewed (0)