Sign in
ara-mdk
/
platform
/
external
/
clang
/
f3260565f46491a0d99e41d47a13767218242ce5
/
.
/
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}}
}