blob: 354c96098d282f9e7e366ba5cd8fb8c1f11ad8df [file] [log] [blame]
// { 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(); }