Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/internal/abi/abi_test.go

    // license that can be found in the LICENSE file.
    
    package abi_test
    
    import (
    	"internal/abi"
    	"internal/testenv"
    	"path/filepath"
    	"strings"
    	"testing"
    )
    
    func TestFuncPC(t *testing.T) {
    	// Test that FuncPC* can get correct function PC.
    	pcFromAsm := abi.FuncPCTestFnAddr
    
    	// Test FuncPC for locally defined function
    	pcFromGo := abi.FuncPCTest()
    	if pcFromGo != pcFromAsm {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top