4 // Copyright 2018 The Go Authors. All rights reserved.
5 // Use of this source code is governed by a BSD-style
6 // license that can be found in the LICENSE file.
8 // Test that inlining of math/bits.RotateLeft* treats those calls as intrinsics.
22 func f() { // ERROR "can inline f"
23 x8 = bits.RotateLeft8(x8, 1)
24 x16 = bits.RotateLeft16(x16, 1)
25 x32 = bits.RotateLeft32(x32, 1)
26 x64 = bits.RotateLeft64(x64, 1)
27 x = bits.RotateLeft(x, 1)