summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/d_c99_flex_array_packed.c
blob: b63a54dc6f6444c69c4bb62227ac242ee45d5404 (plain)
1
2
3
4
5
6
7
8
9
10
/*	$NetBSD: d_c99_flex_array_packed.c,v 1.3 2023/03/28 14:44:34 rillig Exp $	*/
# 3 "d_c99_flex_array_packed.c"

/* lint1-extra-flags: -X 351 */

/* Allow packed c99 flexible arrays */
struct {
	int x;
	char y[0];
} __packed foo;