diff options
Diffstat (limited to 'lua/tests/indent/c/expr.c')
| -rw-r--r-- | lua/tests/indent/c/expr.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lua/tests/indent/c/expr.c b/lua/tests/indent/c/expr.c new file mode 100644 index 000000000..cafb11120 --- /dev/null +++ b/lua/tests/indent/c/expr.c @@ -0,0 +1,12 @@ +void foo(int x, int y) +{ + if ((x*x - y*y > 0) || + (x == 1 || y == 1) && + (x != 2 && y != 2) + ) { + return; + } + + int z = (x + y) * + (x - y); +} |
