a bit more testing

This commit is contained in:
Michael McGuinness
2024-12-24 12:47:40 +00:00
parent eb917fb25e
commit 827d973053
125 changed files with 970 additions and 718 deletions
+6 -6
View File
@@ -23,13 +23,13 @@ package atomic
// nocmp is an uncomparable struct. Embed this inside another struct to make
// it uncomparable.
//
// type Foo struct {
// nocmp
// // ...
// }
// type Foo struct {
// nocmp
// // ...
// }
//
// This DOES NOT:
//
// - Disallow shallow copies of structs
// - Disallow comparison of pointers to uncomparable structs
// - Disallow shallow copies of structs
// - Disallow comparison of pointers to uncomparable structs
type nocmp [0]func()