1 /* $NetBSD: opt_bap.c,v 1.1 2021/10/16 03:20:13 rillig Exp $ */ 2 /* $FreeBSD$ */ 3 4 #indent input 5 static void one_liner(void) { /* FIXME: needs empty line below */ } 6 static void several_lines(void) { 7 action(); 8 /* FIXME: needs empty line below */ 9 } 10 int main(void){/* FIXME: needs empty line below */} 11 int global_variable; 12 13 void already_has_blank_line_below(void) 14 { 15 } 16 17 void has_several_blank_lines_below(void) 18 { 19 } 20 21 22 23 int the_end; 24 #indent end 25 26 #indent run -bap 27 static void 28 one_liner(void) 29 { /* FIXME: needs empty line below */ 30 } 31 static void 32 several_lines(void) 33 { 34 action(); 35 /* FIXME: needs empty line below */ 36 } 37 int 38 main(void) 39 { /* FIXME: needs empty line below */ 40 } 41 int global_variable; 42 43 void 44 already_has_blank_line_below(void) 45 { 46 } 47 48 void 49 has_several_blank_lines_below(void) 50 { 51 } 52 53 54 55 int the_end; 56 #indent end 57 58 #indent input 59 static void one_liner(void) {} 60 static void several_lines(void) { 61 action(); 62 } 63 int main(void){} 64 int global_variable; 65 66 void already_has_blank_line_below(void) 67 { 68 } 69 70 void has_several_blank_lines_below(void) 71 { 72 } 73 74 75 76 int the_end; 77 #indent end 78 79 #indent run -nbap 80 static void 81 one_liner(void) 82 { 83 } 84 static void 85 several_lines(void) 86 { 87 action(); 88 } 89 int 90 main(void) 91 { 92 } 93 int global_variable; 94 95 void 96 already_has_blank_line_below(void) 97 { 98 } 99 100 void 101 has_several_blank_lines_below(void) 102 { 103 } 104 105 106 107 int the_end; 108 #indent end 109