1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c2x -Wunreachable-code-fallthrough %s
2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c2x -Wunreachable-code %s
3 // RUN: %clang_cc1 -fsyntax-only -verify=code -std=c2x -Wunreachable-code -Wno-unreachable-code-fallthrough %s
4 // RUN: %clang_cc1 -fsyntax-only -verify -std=c2x -Wno-unreachable-code -Wunreachable-code-fallthrough %s
9 [[fallthrough
]]; // expected-warning{{fallthrough annotation in unreachable code}}
10 // code-warning@-1{{never be executed}}