blob: 5be61a6f394e58ab68d20417771d5d013330b060 [file] [log] [blame]
// PR c++/82219
// { dg-additional-options "-Wall -Wextra" }
struct A {
template <typename T> T foo(T *) const { return static_cast<T>(0); }
void bar() const { foo(&i); }
int i;
};