summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
Diffstat (limited to 'auto')
-rw-r--r--auto/clang5
1 files changed, 3 insertions, 2 deletions
diff --git a/auto/clang b/auto/clang
index f36a31a0..91078ba9 100644
--- a/auto/clang
+++ b/auto/clang
@@ -153,9 +153,10 @@ nxt_feature_name=NXT_HAVE_GCC_ATTRIBUTE_PACKED
nxt_feature_run=
nxt_feature_path=
nxt_feature_libs=
-nxt_feature_test="struct __attribute__ ((__packed__)) s {
+nxt_feature_test="struct s {
char c;
- };
+ int i;
+ } __attribute__ ((__packed__));
int main() {
return 1;