Sign in
ara-mdk
/
platform
/
external
/
clang
/
70e82dc7a254054f0de491493489da162e63c364
/
.
/
test
/
SemaCXX
/
no-rtti.cpp
blob: 75167050dca2101922f711290902a6550e208cb9 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify -fno-rtti %s
namespace
std
{
class
type_info
;
}
void
f
()
{
(
void
)
typeid
(
int
);
// expected-error {{cannot use typeid with -fno-rtti}}
}