mirror of
https://github.com/golang/go.git
synced 2025-10-19 19:13:18 +00:00
Updated tests
This commit is contained in:
parent
b2702de4b1
commit
d36e0f431f
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ var once *sync.Once
|
|||
|
||||
func small7() { // ERROR "can inline small7"
|
||||
// the Do fast path should be inlined
|
||||
once.Do(small5) // ERROR "inlining call to sync\.\(\*Once\)\.Do" "inlining call to atomic\.\(\*Uint32\)\.Load"
|
||||
once.Do(small5) // ERROR "inlining call to sync\.\(\*Once\)\.Do" "inlining call to atomic\.\(\*Bool\)\.Load"
|
||||
}
|
||||
|
||||
var rwmutex *sync.RWMutex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue