aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/canonical-not.c
blob: 9698590fd245925789940257fabdc9388e444842 (plain)
1
2
3
4
5
6
7
8
9
int canon_not(int a, int b) { return (a & ~b) == (~b & a); }

/*
 * check-name: canonical-not
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-returns: 1
 */