1 /* { dg-do assemble } */
2 /* Explicit { dg-require-effective-target exceptions_enabled } to avoid verify compiler messages FAILs for '-fno-exceptions'. */
7 static void *func (int n)
10 if (p == 0) throw ::A ();
11 } // { dg-warning "control reaches end of non-void function" }
13 static void *func (int n, B const &)