diff options
Diffstat (limited to 'validation')
| -rw-r--r-- | validation/optim/merge_bbe-adjust_phi.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/validation/optim/merge_bbe-adjust_phi.c b/validation/optim/merge_bbe-adjust_phi.c new file mode 100644 index 00000000..de4c54cc --- /dev/null +++ b/validation/optim/merge_bbe-adjust_phi.c @@ -0,0 +1,24 @@ +extern int array[2]; + +static inline int stupid_select(int idx) +{ + if (idx) + idx = 0; + return array[idx]; +} + +int select(void) +{ + int d = stupid_select(-1); + return d; +} + +/* + * check-name: merge_bbe-adjust_phi + * check-command: test-linearize -Wno-decl $file + * check-known-to-fail + * + * check-output-ignore + * check-output-excludes: phisrc\\. + * check-output-excludes: phi\\. + */ |
