gcc/ChangeLog:
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wignored-qualifiers1.C
blob5be61a6f394e58ab68d20417771d5d013330b060
1 // PR c++/82219
2 // { dg-additional-options "-Wall -Wextra" }
4 struct A {
5   template <typename T> T foo(T *) const { return static_cast<T>(0); }
6   void bar() const { foo(&i); }
7   int i;
8 };