OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/41109
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
volatile1.C
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 "will not be accessed" }
12
}