Debian Codegraph @

gcc/testsuite/g++.dg/warn/Wreturn-1.C

raw
1 // { dg-options "-Wreturn-type" }
2 // PR c++/15742
3
4 extern void exit(int) __attribute__ ((noreturn));
5
6 template<typename T>
7 struct A {
8 int find_cmp(void) { exit(1); }
9 };