blob: f0dba504b9bf750064f6ea540e46ba89f1e4f559 [file] [log] [blame]
// { dg-options "-Wreturn-type" }
// PR c++/15742
extern void exit(int) __attribute__ ((noreturn));
template<typename T>
struct A {
int find_cmp(void) { exit(1); }
};