Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for bug369 (0.32 sec)

  1. test/fixedbugs/bug066.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 bug066
    
    type Scope struct {
    	entries map[string] *Object;
    }
    
    
    type Type struct {
    	scope *Scope;
    }
    
    
    type Object struct {
    	typ *Type;
    }
    
    
    func Lookup(scope *Scope) *Object {
    	return scope.entries["foo"];
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 385 bytes
    - Viewed (0)
  2. test/fixedbugs/bug061.go

    package main
    
    func main() {
    	var s string;
    	s = "0000000000000000000000000000000000000000000000000000000000"[0:7];
    	_ = s;
    }
    
    /*
    uetli:~/Source/go1/test/bugs gri$ 6g bug061.go
    Bus error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 357 bytes
    - Viewed (0)
  3. test/fixedbugs/bug139.go

    package main
    
    func main() {
    	x := false;
    	func () { if x          { println(1); } }();  // this does not compile
    	func () { if x == false { println(2); } }();  // this works as expected
    }
    
    /*
    bug139.go:7: fatal error: naddr: ONAME class x 5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 416 bytes
    - Viewed (0)
  4. test/fixedbugs/bug149.go

    	b2 := ([]byte)(nil);
    	s2 := string(b2);
    	println(len(s2));  // prints 0
    
    	s3 := string(([]byte)(nil));  // does not compile (literal substitution of b2)
    	println(len(s3));
    }
    
    /*
    bug149.go:14: cannot convert []uint8 constant to string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 506 bytes
    - Viewed (0)
  5. test/fixedbugs/bug119.go

    }
    
    func main() {
    	a := &[]int{12}
    	if x := (*a)[0]; x != 12 {
    		panic(2)
    	}
    	if x := foo(*a); x != 12 {
    		// fails (x is incorrect)
    		panic(3)
    	}
    }
    
    /*
    uetli:~/Source/go1/test/bugs gri$ 6go bug119
    3 70160
    
    panic on line 83 PC=0x14d6
    0x14d6?zi
    	mainĀ·main(23659, 0, 1, ...)
    	mainĀ·main(0x5c6b, 0x1, 0x7fff5fbff830, ...)
    0x52bb?zi
    	mainstart(1, 0, 1606416432, ...)
    	mainstart(0x1, 0x7fff5fbff830, 0x0, ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 697 bytes
    - Viewed (0)
  6. test/fixedbugs/bug009.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    
    func main() {
    	fired := false; _ = fired;
    }
    /*
    bug9.go:5: defaultlit: unknown literal: LITERAL-B0 a(1)
    bug9.go:5: fatal error: addvar: n=NAME-fired G0 a(1) l(5) t=<N> nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 357 bytes
    - Viewed (0)
  7. test/fixedbugs/bug356.go

    // license that can be found in the LICENSE file.
    
    // issue 1808
    
    package main
    
    func main() {
    	var i uint64
    	var x int = 12345
    
    	if y := x << (i&5); y != 12345<<0 {
    		println("BUG bug344", y)
    		return
    	}
    	
    	i++
    	if y := x << (i&5); y != 12345<<1 {
    		println("BUG bug344a", y)
    	}
    	
    	i = 70
    	if y := x << i; y != 0 {
    		println("BUG bug344b", y)
    	}
    	
    	i = 1<<32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 678 bytes
    - Viewed (0)
  8. test/fixedbugs/bug364.go

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

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

    Emmanuel Odeke <******@****.***> 1460323946 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 707 bytes
    - Viewed (0)
Back to top