Sign in
llvm
/
llvm-archive
/
9ee4ded126524dc671b998a7c57f4d2433ee9d20
/
.
/
safecode
/
tools
/
clang
/
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}}
}