summaryrefslogtreecommitdiff
path: root/snippets/switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/switch.c')
-rw-r--r--snippets/switch.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/snippets/switch.c b/snippets/switch.c
new file mode 100644
index 0000000..b0b527a
--- /dev/null
+++ b/snippets/switch.c
@@ -0,0 +1,6 @@
+switch (_) {
+ case (_): {
+ } break;
+ default: {
+ } break;
+}