aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/bool-context.c
blob: 505fa5cee6ce5674ab7bdc380f9160271b44739d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#define bool _Bool

bool bool_ior(int a, int b) { return a || b; }
bool bool_and(int a, int b) { return a && b; }

/*
 * check-name: bool-context
 * check-command: test-linearize -Wno-decl $file
 * check-output-ignore
 *
 * check-output-pattern(4): setne\\..* %arg[12]
 */