[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
[llvm-project.git] / clang / test / Analysis / no-unreachable-dtors.cpp
blob1675542d9ac753750273e5d2c08190c40fc16357
1 // RUN: %clang_analyze_cc1 -analyzer-checker=debug.Stats -verify -Wno-unreachable-code %s
3 struct S {
4 ~S();
5 };
7 // the return at the end of an CompoundStmt does not lead to an unreachable block containing the dtors
8 void test() { // expected-warning-re{{test -> Total CFGBlocks: {{[0-9]+}} | Unreachable CFGBlocks: 0 | Exhausted Block: no | Empty WorkList: yes}}
9 S s;
10 return;