Fix broken MinGW build of gcc.c
[official-gcc.git] / gcc / testsuite / g++.dg / warn / volatile1.C
blobac9dd4df35418f8b53a5b44cd317f5e4408f596d
1 // PR c++/26577
3 struct A
5   A(const A&);
6   A& operator=(const A&);
7   void baz() volatile;
8 };
9 void A::baz() volatile
11   *this;                        // { dg-warning "indirection will not access" }