[ELF] Avoid make in elf::writeARMCmseImportLib
[llvm-project.git] / clang / test / Analysis / unreachable-code-exceptions.cpp
blobf47674ea8097de3ea8f201db124ac472ebe8785a
1 // RUN: %clang_analyze_cc1 -verify %s -fcxx-exceptions -fexceptions -analyzer-checker=core,alpha.deadcode.UnreachableCode
3 // expected-no-diagnostics
5 void foo();
7 void fp_90162() {
8 try { // no-warning: The TryStmt shouldn't be unreachable.
9 foo();
10 } catch (int) {
11 foo(); // We assume that catch handlers are reachable.