Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- validation/optim/store-dominated.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 validation/optim/store-dominated.c diff --git a/validation/optim/store-dominated.c b/validation/optim/store-dominated.c new file mode 100644 index 000000000..f1e2e6f29 --- /dev/null +++ b/validation/optim/store-dominated.c @@ -0,0 +1,16 @@ +static int a[]; + +static void foo(void) +{ + int *c = &a[1]; + *c = *c = 0; +} + +/* + * check-name: store-dominated + * check-command: test-linearize $file + * check-known-to-fail + * + * check-output-ignore + * check-output-excludes: add\. + */ -- 2.16.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html