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
[NFC][TargetTransformInfo][VectorUtils] Consolidate `isVectorIntrinsic...` api (...
[llvm-project.git]
/
clang
/
test
/
CXX
/
over
/
over.built
/
p6.cpp
blob
ca81c9aecce86d58caabfdf9f6c04aa152473fd6
1
// RUN: %clang_cc1 -std=c++11 -verify %s -Wno-tautological-compare
2
3
struct
A
{};
4
5
template
<
typename T
>
6
void
f
(
int
*
pi
,
A
*
pa
,
T
*
pt
) {
7
(
void
)++
pi
;
8
(
void
)
pi
++;
9
(
void
)--
pi
;
10
(
void
)
pi
--;
11
12
(
void
)++
pa
;
13
(
void
)
pa
++;
14
(
void
)--
pa
;
15
(
void
)
pa
--;
16
17
(
void
)++
pt
;
18
(
void
)
pt
++;
19
(
void
)--
pt
;
20
(
void
)
pt
--;
21
}
22
// expected-no-diagnostics
23