Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 73 for bug18b (0.11 sec)

  1. test/fixedbugs/bug081.go

    // 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 main
    
    const x x = 2 // ERROR "loop|type|cycle"
    
    /*
    bug081.go:3: first constant must evaluate an expression
    Bus error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 03 17:55:56 UTC 2020
    - 303 bytes
    - Viewed (0)
  2. test/fixedbugs/bug080.go

    package main
    
    func f1() (x int, y float64) {
    	return
    }
    
    func f2(x int, y float64) {
    	return
    }
    
    func main() {
    	f2(f1()) // this should be a legal call
    }
    
    /*
    bug080.go:12: illegal types for operand: CALL
    	(<int32>INT32)
    	({<x><int32>INT32;<y><float32>FLOAT32;})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 435 bytes
    - Viewed (0)
  3. 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)
  4. test/fixedbugs/bug112.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    type T struct { s string }
    var t = T{"hi"}
    
    func main() {}
    
    /*
    bug112.go:6: illegal conversion of constant to T
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 301 bytes
    - Viewed (0)
  5. test/fixedbugs/bug111.go

    type Stucky struct {
    	n int
    }
    
    func (s *Stucky) Me() Iffy {
    	ncall++;
    	return s
    }
    
    func main() {
    	s := new(Stucky);
    	i := s.Me();
    	j := i.Me();
    	j.Me();
    	if ncall != 3 {
    		panic("bug111")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 427 bytes
    - Viewed (0)
  6. test/fixedbugs/bug156.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func f(a int64) int64 {
    	const b int64 = 0;
    	n := a &^ b;
    	return n;
    }
    
    func main() {
    	f(1)
    }
    
    /*
    bug156.go:7: constant 18446744073709551615 overflows int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 346 bytes
    - Viewed (0)
  7. test/fixedbugs/bug186.go

    Russ Cox <******@****.***> 1329454170 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 280 bytes
    - Viewed (0)
  8. test/fixedbugs/bug181.go

    Russ Cox <******@****.***> 1329454170 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 238 bytes
    - Viewed (0)
  9. test/fixedbugs/bug182.go

    Russ Cox <******@****.***> 1329454170 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 248 bytes
    - Viewed (0)
  10. test/fixedbugs/bug183.go

    Rémy Oudompheng <******@****.***> 1329866399 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 23:19:59 UTC 2012
    - 434 bytes
    - Viewed (0)
Back to top