repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git]
/
clang
/
test
/
SemaTemplate
/
instantiate-function-1.mm
blob
c67b5985f63f605aeb0473572557da3d69e16d0c
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// XFAIL: *
3
4
template<typename T> struct Member0 {
5
void f(T t) {
6
t;
7
t.f;
8
t->f;
9
10
T* tp;
11
tp.f;
12
tp->f;
13
14
this->f;
15
this.f; // expected-error{{member reference base type 'struct Member0 *const' is not a structure or union}}
16
}
17
};