1 /* $NetBSD: fmt_expr.c,v 1.2 2021/11/19 22:24:29 rillig Exp $ */ 2 /* $FreeBSD$ */ 3 4 /* 5 * Tests for all kinds of expressions that are not directly related to unary 6 * or binary operators. 7 * 8 * See also: 9 * lsym_binary_op.c 10 * lsym_unary_op.c 11 */ 12 13 /* See lsym_offsetof.c. */ 14 #indent input 15 void t(void) { 16 int n = malloc(offsetof(struct s, f) + 1); 17 } 18 #indent end 19 20 #indent run 21 void 22 t(void) 23 { 24 int n = malloc(offsetof(struct s, f) + 1); 25 } 26 #indent end 27