-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
//go:build go1.22 | ||
|
||
package function | ||
|
||
import ( | ||
"github.com/google/uuid" // want "Package github.com/google/uuid has not allowed capability CAPABILITY_FILES" "Package github.com/google/uuid has not allowed capability CAPABILITY_NETWORK" "Package github.com/google/uuid has not allowed capability CAPABILITY_REFLECT" | ||
) | ||
|
||
func Call() { | ||
Check failure on line 9 in testdata/src/alltest/simple/function/func_go122.go GitHub Actions / Go (1.22, ubuntu-latest)
Check failure on line 9 in testdata/src/alltest/simple/function/func_go122.go GitHub Actions / Go (1.22, ubuntu-latest)
Check failure on line 9 in testdata/src/alltest/simple/function/func_go122.go GitHub Actions / Go (1.22, ubuntu-latest)
Check failure on line 9 in testdata/src/alltest/simple/function/func_go122.go GitHub Actions / Go (1.22, ubuntu-latest)
Check failure on line 9 in testdata/src/alltest/simple/function/func_go122.go GitHub Actions / Go (1.x, ubuntu-latest)
Check failure on line 9 in testdata/src/alltest/simple/function/func_go122.go GitHub Actions / Go (1.x, ubuntu-latest)
Check failure on line 9 in testdata/src/alltest/simple/function/func_go122.go GitHub Actions / Go (1.x, ubuntu-latest)
Check failure on line 9 in testdata/src/alltest/simple/function/func_go122.go GitHub Actions / Go (1.x, ubuntu-latest)
Check failure on line 9 in testdata/src/alltest/simple/function/func_go122.go GitHub Actions / Go (1.22, macos-latest)
Check failure on line 9 in testdata/src/alltest/simple/function/func_go122.go GitHub Actions / Go (1.22, macos-latest)
Check failure on line 9 in testdata/src/alltest/simple/function/func_go122.go GitHub Actions / Go (1.22, macos-latest)
|
||
uuid.GetTime() // regular function call is reported | ||
} |