Add switch end-to-end tests.

This CL adds end-to-end tests for switch statements.

Bug: tint:1718
Change-Id: Id123d7ed43637d1662ada6f46973b3e181b6f4c7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/162266
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
diff --git a/test/tint/switch/switch_only_default.wgsl.expected.ir.msl b/test/tint/switch/switch_only_default.wgsl.expected.ir.msl
new file mode 100644
index 0000000..c6fd336
--- /dev/null
+++ b/test/tint/switch/switch_only_default.wgsl.expected.ir.msl
@@ -0,0 +1,13 @@
+#include <metal_stdlib>
+using namespace metal;
+
+void a() {
+  int a = 0;
+  switch(a) {
+    default:
+    {
+      return;
+    }
+  }
+  /* unreachable */
+}