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
/
CXX
/
over
/
over.built
/
p22.cpp
blob
330f1c923140740fc37b08ed8b75e9774cff4aed
1
// RUN: %clang_cc1 -std=c++11 -verify %s -Wno-tautological-compare
2
3
template
<
typename T
>
4
void
f
(
int
*
pi
,
T
*
pt
,
T t
) {
5
pi
+=
3
;
6
pi
+=
pi
;
// expected-error {{invalid operands}}
7
pt
+=
3
;
8
pi
+=
t
;
9
pi
+=
pt
;
// FIXME
10
pt
+=
pi
;
//FIXME
11
pt
+=
pt
;
//FIXME
12
}