aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/unsafe.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/codegen/unsafe.go')
-rw-r--r--test/codegen/unsafe.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/codegen/unsafe.go b/test/codegen/unsafe.go
index 1f1bdf2a95..30be9f4f34 100644
--- a/test/codegen/unsafe.go
+++ b/test/codegen/unsafe.go
@@ -10,7 +10,7 @@ import "unsafe"
func f(p unsafe.Pointer, x, y uintptr) int64 {
p = unsafe.Pointer(uintptr(p) + x + y)
- // amd64:`MOVQ\s\(.*\)\(.*\*1\), `
- // arm64:`MOVD\s\(R[0-9]+\)\(R[0-9]+\), `
+ // amd64:`MOVQ \(.*\)\(.*\*1\), `
+ // arm64:`MOVD \(R[0-9]+\)\(R[0-9]+\), `
return *(*int64)(p)
}