diff options
Diffstat (limited to 'validation')
| -rw-r--r-- | validation/optim/bits-not-zero.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/validation/optim/bits-not-zero.c b/validation/optim/bits-not-zero.c new file mode 100644 index 00000000..9872794b --- /dev/null +++ b/validation/optim/bits-not-zero.c @@ -0,0 +1,15 @@ +int or_not0(int a) { return a | ~0; } + +/* + * check-name: bool-not-zero + * check-command: test-linearize -Wno-decl $file + * + * check-output-start +or_not0: +.L0: + <entry-point> + ret.32 $0xffffffff + + + * check-output-end + */ |
