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
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
Parser
/
cxx-template-recovery.cpp
blob
e22f6c55e3f0c2d0e0761467527dc31b18278599
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
template
<
class
T
>
4
void
Foo
<
T
>::
Bar
(
void
*
aRawPtr
) {
// expected-error {{no template named 'Foo'}}
5
(
void
)(
aRawPtr
);
6
}
7
8
namespace
baz
{
9
class
klass
{};
10
}
11
12
int
*
variable
=
0
;
// ok
13
const
baz
::
klass object
;
// ok