☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
volatile1.C
☽
☼
gcc/testsuite/g++.dg/warn/volatile1.C
code
plain
raw
1
// PR c++/26577
2
3
struct A
4
{
5
A(const A&);
6
A& operator=(const A&);
7
void baz() volatile;
8
};
9
void A::baz() volatile
10
{
11
*this; // { dg-warning "indirection will not access" }
12
}