summaryrefslogtreecommitdiff
path: root/lua/tests/indent/c/switch.c
diff options
context:
space:
mode:
authorJędrzej Boczar <yendreij@gmail.com>2021-04-22 20:53:30 +0200
committerKiyan <yazdani.kiyan@protonmail.com>2021-04-23 21:21:38 +0200
commit63a88c873f3643aad9208488765dc53618edd40e (patch)
treefb233a54b0dae8a6af1a12dfecb9cd85cbdb4f64 /lua/tests/indent/c/switch.c
parentd4e8d3e6597578c14dd846762c57308f36ccacb5 (diff)
move all tests to top-level tests/ directory
Diffstat (limited to 'lua/tests/indent/c/switch.c')
-rw-r--r--lua/tests/indent/c/switch.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/lua/tests/indent/c/switch.c b/lua/tests/indent/c/switch.c
deleted file mode 100644
index 4003bdb1..00000000
--- a/lua/tests/indent/c/switch.c
+++ /dev/null
@@ -1,16 +0,0 @@
-void foo(int x) {
- switch (x) {
- case 1:
- x += 1;
- break;
- case 2: x += 2;
- break;
- case 3: x += 3; break;
- case 4: {
- x += 4;
- break;
- }
- default:
- x = -x;
- }
-}