File: test008

package info (click to toggle)
pmccabe 2.8-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 876 kB
  • sloc: ansic: 3,084; cpp: 1,080; sh: 401; makefile: 42
file content (16 lines) | stat: -rw-r--r-- 129 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* XOR test */
fn1()
{
    if ((a > 1) && (b > 2))
    {
	x(1);
    }
}

fn2()
{
    if ((a > 1) ^ (b > 2))
    {
	x(1);
    }
}