- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testPhiControl (0.16 sec)
-
src/cmd/compile/internal/test/testdata/ctl_test.go
// phi control values. func nor_ssa(a, b bool) bool { var c bool if a { c = true } if b { c = true } if c { return false } return true } func testPhiControl(t *testing.T) { tests := [...][3]bool{ // a, b, want {false, false, true}, {true, false, false}, {false, true, false}, {true, true, false}, } for _, test := range tests { a, b := test[0], test[1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 2.3K bytes - Viewed (0)