summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/inline_sync.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/inline_sync.go b/test/inline_sync.go
index 5533c7b3fc..69e2a0ead6 100644
--- a/test/inline_sync.go
+++ b/test/inline_sync.go
@@ -42,12 +42,12 @@ func small7() { // ERROR "can inline small7"
var rwmutex *sync.RWMutex
-func small8() {
+func small8() { // ERROR "can inline small8"
// the RUnlock fast path should be inlined
rwmutex.RUnlock() // ERROR "inlining call to sync\.\(\*RWMutex\)\.RUnlock" "inlining call to atomic\.\(\*Int32\)\.Add"
}
-func small9() {
+func small9() { // ERROR "can inline small9"
// the RLock fast path should be inlined
rwmutex.RLock() // ERROR "inlining call to sync\.\(\*RWMutex\)\.RLock" "inlining call to atomic\.\(\*Int32\)\.Add"
}