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
/
pr13353.cpp
blob
8fb5443fe62317597565c05f8da2b3965ff41c60
1
// RUN: %clang_cc1 -fsyntax-only %s
2
struct
foo
{
3
virtual
void
bar
() ;
4
};
5
template
<
typename T
>
6
class
zed
:
public
foo
{
7
};
8
template
<
typename T
>
9
class
bah
:
public
zed
<
T
> {
10
void
f
() {
11
const_cast
<
foo
*>(
this
->
g
())->
bar
();
12
}
13
};