diff options
Diffstat (limited to 'validation/optim/cmpe-and0.c')
-rw-r--r-- | validation/optim/cmpe-and0.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/validation/optim/cmpe-and0.c b/validation/optim/cmpe-and0.c new file mode 100644 index 00000000..7db60836 --- /dev/null +++ b/validation/optim/cmpe-and0.c @@ -0,0 +1,11 @@ +int cmpe_and_eq(int a) { return ((a & 0xff00) == 0xff01) + 1; } +int cmpe_and_ne(int a) { return ((a & 0xff00) != 0xff01) + 0; } + +/* + * check-name: cmpe-and0 + * check-command: test-linearize -Wno-decl $file + * check-known-to-fail + * + * check-output-ignore + * check-output-returns: 1 + */ |