1 int foo(int p)
2 {
3 if (p)
4 return 0;
5 }
6
7 int bar(int p)
8 {
9 if (p)
10 return 0;
11 p++;
12 }
13
14 /*
15 * check-name: missing/undef return
16 * check-command: test-linearize -Wno-decl -fdump-ir=linearize $file
17 *
18 * check-output-ignore
19 * check-output-pattern(2): phi\\..*,.*
20 * check-output-pattern(2): phisrc\\..*\\$0
21 * check-output-pattern(2): phisrc\\..*UNDEF
22 * check-output-excludes: ret\\..*\\$0
23 */