diff options
| -rw-r--r-- | validation/linear/cast-volatile.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/validation/linear/cast-volatile.c b/validation/linear/cast-volatile.c new file mode 100644 index 00000000..f8a64937 --- /dev/null +++ b/validation/linear/cast-volatile.c @@ -0,0 +1,14 @@ +static int foo(volatile int *a, int v) +{ + *a = v; + return *a; +} + +/* + * check-name: cast-volatile + * check-command: test-linearize -fdump-ir=linearize $file + * + * check-known-to-fail + * check-output-ignore + * check-output-excludes: scast\\. + */ |
