diff options
Diffstat (limited to 'validation/optim/reassoc-op-op1.c')
| -rw-r--r-- | validation/optim/reassoc-op-op1.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/validation/optim/reassoc-op-op1.c b/validation/optim/reassoc-op-op1.c new file mode 100644 index 00000000..3d050c14 --- /dev/null +++ b/validation/optim/reassoc-op-op1.c @@ -0,0 +1,14 @@ +int foo(int x, int *ptr) +{ + int t = x + 1; + *ptr = t; + return t + -1; +} + +/* + * check-name: reassoc-op-op1 + * check-command: test-linearize -Wno-decl $file + * + * check-output-ignore + * check-output-pattern(1): add\\. + */ |
