mirror of
https://github.com/golang/go.git
synced 2025-11-01 09:10:57 +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"
|
func small7() { // ERROR "can inline small7"
|
||||||
// the Do fast path should be inlined
|
// 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
|
var rwmutex *sync.RWMutex
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue