Module Name: src Committed By: rillig Date: Sat Aug 27 23:24:37 UTC 2022
Modified Files: src/tests/usr.bin/xlint/lint1: gcc_attribute_aligned.c Log Message: tests/lint: add more information to test for __attribute__((aligned)) Declaring an array type having a negative dimension is the simplest way to embed an integer into a lint diagnostic, thereby revealing what size and alignment lint has calculated for a struct. While here, move these "compile-time assertions" closer to their corresponding struct, to make reading easier. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 \ src/tests/usr.bin/xlint/lint1/gcc_attribute_aligned.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.