blob: aa2cf18e1895b889dd83abacbf4a3454da7add46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/* $NetBSD: opt_fbs.c,v 1.5 2022/04/24 09:04:12 rillig Exp $ */
/*
* Tests for the options '-fbs' and '-nfbs'.
*
* The option '-fbs' splits the function declaration and the opening brace
* across two lines.
*
* The option '-nfbs' places the opening brace of a function definition in the
* same line as the function declaration.
*
* See '-bl', '-br'.
*/
//indent input
void example(int n) {}
//indent end
//indent run -fbs
void
example(int n)
{
}
//indent end
//indent run -nfbs
void
example(int n) {
}
//indent end
|