- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for gd1 (0.04 sec)
-
test/newinline.go
} // Issue #42194 - make sure that functions evaluated in // go and defer statements can be inlined. func gd1(int) { defer gd1(gd2()) // ERROR "inlining call to gd2" "can inline gd1.deferwrap1" defer gd3()() // ERROR "inlining call to gd3" go gd1(gd2()) // ERROR "inlining call to gd2" "can inline gd1.gowrap2" go gd3()() // ERROR "inlining call to gd3" } func gd2() int { // ERROR "can inline gd2" return 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 11.2K bytes - Viewed (0) -
test/inline.go
_ = f(3) } // Issue #42194 - make sure that functions evaluated in // go and defer statements can be inlined. func gd1(int) { defer gd1(gd2()) // ERROR "inlining call to gd2" defer gd3()() // ERROR "inlining call to gd3" go gd1(gd2()) // ERROR "inlining call to gd2" go gd3()() // ERROR "inlining call to gd3" } func gd2() int { // ERROR "can inline gd2" return 1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 11.7K bytes - Viewed (0)