[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / clang / test / CodeGenCXX / dynamic-cast-dead.cpp
blob8154cc1ba123aa93f7c05e1d08128813c7bb0f98
1 // RUN: %clang_cc1 -I%S %s -O3 -triple x86_64-apple-darwin10 -emit-llvm -fcxx-exceptions -fexceptions -std=c++11 -o - | FileCheck %s
2 struct A { virtual ~A(); };
3 struct B : A { };
5 void foo(A* a) {
6 // CHECK-NOT: call {{.*}} @__dynamic_cast
7 B* b = dynamic_cast<B*>(a);