1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
int a(void);
int b(void);
int c(void);
static int laa(void)
{
return (a() && b()) && c();
}
static int lao(void)
{
return (a() && b()) || c();
}
static int loa(void)
{
return (a() || b()) && c();
}
static int loo(void)
{
return (a() || b()) || c();
}
static int raa(void)
{
return a() && (b() && c());
}
static int rao(void)
{
return a() && (b() || c());
}
static int roa(void)
{
return a() || (b() && c());
}
static int roo(void)
{
return a() || (b() || c());
}
/*
* check-name: bad-logical-phi0
* check-command: sparse -vir -flinearize=last $file
*/
|