Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGdbConst (0.08 sec)

  1. src/runtime/runtime-gdb_test.go

    const constsSource = `
    package main
    
    const aConstant int = 42
    const largeConstant uint64 = ^uint64(0)
    const minusOne int64 = -1
    
    func main() {
    	println("hello world")
    }
    `
    
    func TestGdbConst(t *testing.T) {
    	checkGdbEnvironment(t)
    	t.Parallel()
    	checkGdbVersion(t)
    
    	dir := t.TempDir()
    
    	// Build the source code.
    	src := filepath.Join(dir, "main.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top