1// compile
2
3// Copyright 2020 The Go Authors. All rights reserved.
4// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file.
6
7package main
8
9var g *uint64
10
11func main() {
12	var v uint64
13	g = &v
14	v &^= (1 << 31)
15	v |= 1 << 63
16	v &^= (1 << 63)
17}
18