// RUN: %clang_cc1 -no-opaque-pointers -emit-llvm %s -verify -fno-rtti -triple %itanium_abi_triple -o - | FileCheck %s
// expected-no-diagnostics
;
;
// An upcast can be resolved statically and can be used with -fno-rtti, iff it
// does not use runtime support.
A *
// A NoOp dynamic_cast can be used with -fno-rtti iff it does not use
// runtime support.
B *