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