Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
59a9881ab252c80735d6440bd9ca0fbac252e6a8
/
.
/
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}}
}