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
/
ASTMerge
/
class2
/
Inputs
/
class3.cpp
blob
428acc3f03199be89765750117535b147a4b17a0
1
class
C1
{
2
public
:
3
C1
();
4
~
C1
();
5
C1
*
method_1
() {
6
return this
;
7
}
8
C1
method_2
() {
9
return
C1
();
10
}
11
void
method_3
() {
12
const
C1
&
ref
=
C1
();
13
}
14
};
15
16
class
C11
:
public
C1
{
17
};
18
19
class
C2
{
20
private
:
21
int
x
;
22
friend class
C3
;
23
public
:
24
static_assert
(
sizeof
(
x
) ==
sizeof
(
int
),
"Error"
);
25
typedef class C2
::
C2 InjType
;
26
};