1 // RUN: %clang_cc1 -fsyntax-only -verify -fblocks -std=c++11 -Wimplicit-fallthrough %s
3 void fallthrough_in_blocks() {
9 [[clang::fallthrough
]]; // no diagnostics
13 expected
-warning
{{unannotated fall
-through between
switch labels
}} \
14 expected
-note
{{insert
'break;' to avoid fall
-through
}}