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