Sign in
nest-open-source
/
nest-cam
/
4320010
/
clang
/
122e84f71d6fd6dc5701454756bbac337f38dae4
/
.
/
clang
/
test
/
SemaCXX
/
typeid-ref.cpp
blob: 7e5dbdd85adeb3a0030b27202c9c775cd8c770ae [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s
namespace
std
{
class
type_info
;
}
struct
X
{
};
void
f
()
{
// CHECK: @_ZTS1X = linkonce_odr constant
// CHECK: @_ZTI1X = linkonce_odr constant
(
void
)
typeid
(
X
&);
}