// RUN: %clang_cc1 -mllvm -emptyline-comment-coverage=false -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name switchmacro.c %s | FileCheck %s
// CHECK: foo
int
// PR26825 - Crash when exiting macro expansion containing a switch
// CHECK: bar
void
// PR27948 - Crash when handling a switch partially covered by a macro
// CHECK: baz
void
int