1 /* $NetBSD: opt_i.c,v 1.4 2022/04/24 09:04:12 rillig Exp $ */ 2 3 /* 4 * Tests for the option '-i', which specifies the indentation for a single 5 * brace level. 6 */ 7 8 //indent input 9 void example(void)10example(void) 11 { 12 if (1 > 0) if (2 > 1) return yes; return no; 13 } 14 //indent end 15 16 //indent run -i3 17 void example(void)18example(void) 19 { 20 if (1 > 0) 21 if (2 > 1) 22 return yes; 23 return no; 24 } 25 //indent end 26