repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
typeid-ref.cpp
blob
f788b04077ecac793013a1d31e454977f11072ac
1
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s
2
namespace
std
{
3
class
type_info
;
4
}
5
6
struct
X
{ };
7
8
void
f
() {
9
// CHECK: @_ZTS1X = linkonce_odr {{(dso_local |hidden )?}}constant
10
// CHECK: @_ZTI1X = linkonce_odr {{(dso_local |hidden )?}}constant
11
(
void
)
typeid
(
X
&);
12
}