gopkg.in/golangci/golangci-lint.v1@v1.10.1/test/testdata/maligned.go (about)

     1  // args: -Emaligned
     2  package testdata
     3  
     4  type BadAlignedStruct struct { // ERROR "struct of size 24 bytes could be of size 16 bytes"
     5  	B  bool
     6  	I  int
     7  	B2 bool
     8  }