blob: fdbc42516a13e63f10aa0ecb12bee0a3fce1005a [file] [log] [blame]
// PR c++/30988
// { dg-do compile }
// { dg-options "-O2 -Wall" }
void f (const char *);
template <typename T> struct A
{
int g ()
{
f (__FUNCTION__);
} // { dg-warning "no return statement in function returning non-void" }
};