Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for bug344c (0.16 sec)

  1. test/fixedbugs/bug356.go

    	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
    	if y := x << i; y != 0 {
    		println("BUG bug344c", y)
    	}
    }
    	
    
    /*
    typecheck [1008592b0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 678 bytes
    - Viewed (0)
  2. test/fixedbugs/bug334.go

    func (c cplx128) Foo() {}
    
    func main() {
    	var c64 cplx128
    	var c128 cplx64
    	c64.Foo()
    	c128.Foo()
    }
    
    /*
    bug334.go:16: invalid receiver type cplx64
    bug334.go:17: invalid receiver type cplx128
    bug334.go:22: c64.Foo undefined (type cplx128 has no field or method Foo)
    bug334.go:23: c128.Foo undefined (type cplx64 has no field or method Foo)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 618 bytes
    - Viewed (0)
  3. test/fixedbugs/bug144.go

    // license that can be found in the LICENSE file.
    
    package main
    
    const c = 1;
    
    func main() {
    	c := 0;
    	_ = c;
    }
    
    /*
    bug144.go:8: left side of := must be a name
    bug144.go:8: operation LITERAL not allowed in assignment context
    bug144.go:8: illegal types for operand: AS
    	ideal
    	int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 404 bytes
    - Viewed (0)
  4. test/fixedbugs/bug348.go

    		for i := 0;; i++ {
    			pc, file, line, ok := runtime.Caller(i)
    			if !ok {
    				print("BUG: bug348: cannot find caller\n")
    				return
    			}
    			if !strings.Contains(file, "bug348.go") || runtime.FuncForPC(pc).Name() != "main.f" {
    				// walk past runtime frames
    				continue
    			}
    			if line != 17 {
    				print("BUG: bug348: panic at ", file, ":", line, " in ", runtime.FuncForPC(pc).Name(), "\n")
    				return
    			}
    			recover()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 800 bytes
    - Viewed (0)
  5. test/fixedbugs/bug347.go

    		recover()
    		for i := 0;; i++ {
    			pc, file, line, ok := runtime.Caller(i)
    			if !ok {
    				print("BUG: bug347: cannot find caller\n")
    				return
    			}
    			if !strings.Contains(file, "bug347.go") || runtime.FuncForPC(pc).Name() != "main.f" {
    				// walk past runtime frames
    				continue
    			}
    			if line != 22 {
    				print("BUG: bug347: panic at ", file, ":", line, " in ", runtime.FuncForPC(pc).Name(), "\n")
    			}
    			return
    		}
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 817 bytes
    - Viewed (0)
  6. test/fixedbugs/bug304.go

    // 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.
    
    // Caused a gccgo crash on compilation.
    // bug304.go: In function ‘p.f’:
    // bug304.go:15:2: internal compiler error: in copy_tree_r, at tree-inline.c:4114
    
    package p
    type S struct {
    	v interface{}
    }
    func g(e interface{}) { }
    func f(s S) {
    	g(s.v.(*int))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 432 bytes
    - Viewed (0)
  7. test/fixedbugs/bug343.go

           }
           return ret
    }
    
    func main() {
    	x := getArgs(map[string]interface{}{"x":"y"}, "x")
    	if x["x"] != "y" {
    		println("BUG bug343", x)
    	}
    }
    	
    
    /*
    typecheck [1008592b0]
    .   INDREG a(1) l(15) x(24) tc(2) runtime.ret G0 string
    bug343.go:15: internal compiler error: typecheck INDREG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 721 bytes
    - Viewed (0)
  8. test/fixedbugs/bug354.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // issue 2086
    // was calling makeclosure twice on the closure
    
    package bug354
    
    type Inner struct {
    	F func() error
    }
    
    type Outer struct {
    	Inners []Inner
    }
    
    // calls makeclosure twice on same closure
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 434 bytes
    - Viewed (0)
  9. test/fixedbugs/bug344.go

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