repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
pr79304.C
blob
eedae42cbdf16b95709b05b4b18882a2fc24e513
1
// PR c++/79304
2
// { dg-do compile }
3
4
struct C { };
5
6
template<class T>
7
struct X
8
{
9
C* c;
10
11
void f() {
12
this->c.s(); // { dg-error "->c" }
13
}
14
};
15
16
int main()
17
{
18
X<int> x;
19
x.f();
20
}