summaryrefslogtreecommitdiffstats
path: root/testing/024_if.dox
blob: f24be439e3adad5a2ba6c77b7773ea0eebab81e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// objective: test the \if, \ifnot, \elsif, \else, and \endif commands
// check: indexpage.xml
// config: ENABLED_SECTIONS = GUARD_ENABLED
/** \mainpage
 *  Unconditional (start)
 *  \if GUARD_ENABLED
 *  Enabled (if).
 *    \if (!GUARD_ENABLED)  Disabled (if).\else Enabled (else). \endif
 *  \else
 *  Disabled.
 *  \endif
 *  Unconditional (middle)
 *  \ifnot GUARD_ENABLED
 *  Disabled (ifnot).
 *  \elseif GUARD_DISABLED
 *  Disabled (elseif).
 *  \else
 *  Enabled (else).
 *  \endif
 *  Unconditional (end)
 */