Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / go / analysis / passes / atomicalign / testdata / src / b / b.go
1 // Copyright 2019 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // +build !arm,!386
6
7 package testdata
8
9 import (
10         "sync/atomic"
11 )
12
13 func nonAffectedArchs() {
14         var s struct {
15                 _ bool
16                 a uint64
17         }
18         atomic.SwapUint64(&s.a, 9) // ok on 64-bit architectures
19 }