Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
59a7000a79118e4c140885ccbb2ac6a686a73092
/
.
/
test
/
SemaCXX
/
typeid-ref.cpp
blob: da0016970bee9cb9907ff7701ef8cf45ab7fc136 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
namespace
std
{
class
type_info
;
}
struct
X
{
};
void
f
()
{
// CHECK: @_ZTS1X = weak_odr constant
// CHECK: @_ZTI1X = weak_odr constant
(
void
)
typeid
(
X
&);
}