File: test021

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 (41 lines) | stat: -rw-r--r-- 541 bytes parent folder | download | duplicates (2)
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
#ifndef TEST021_INCLUDED
#define TEST021_INCLUDED

#if 0
namespace XXX {
#endif

#if 0
// never
#else
// always
#endif

void total_lack_of_modularity()
{

#ifdef UNIX
#	if FORCE_STORED
    if (true) {
#	else
    if (false) {
#	endif /* FORCE_STORED */
       work(); 
	#if !FORCE_STATIC
    } else if (42 == 42) {
#	endif /* ! FORCE_STATIC */
#	if FORCE_STATIC
    } else if (1 != 0) {
#	else
    } else while (1) {
#		if 0
    }
#		endif /* 0 */
#	endif	/* FORCE_STATIC */
    }
#endif /* UNIX */
}

#undef UNIX

#endif // TEST021_INCLUDED