(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
ubsan/
return-8.C
// { dg-additional-options "-fsanitize=undefined -fsanitize-undefined-trap-on-error" }

bool b;

int f() {
  if (b) return 42;
}			// { dg-warning "-Wreturn-type" }

int main() { f(); }