Sign in
llvm
/
llvm-archive
/
1456578521548c1ea3e191fcd25bb39efd8203cd
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.dg
/
warn
/
volatile1.C
blob: 5b1050f9a1c0409725fbd25e01a9ce574036f1e5 [
file
] [
log
] [
blame
]
// PR c++/26577
struct
A
{
A
(
const
A
&);
A
&
operator
=(
const
A
&);
void
baz
()
volatile
;
};
void
A
::
baz
()
volatile
{
*
this
;
// { dg-warning "will not be accessed" }
}