blob: 8ae46c17f8201c490778e058f2fef439d9adc7c5 [file] [log] [blame]
// PR c++/63657
// { dg-options "-Wunused-variable" }
class Bar
{
virtual ~Bar() {}
};
Bar& getbar();
void bar()
{
Bar& b = getbar(); // { dg-warning "unused" }
}