summaryrefslogtreecommitdiff
path: root/testing/015_cond.c
blob: 0ac209d1f3ce1b2b85e5fc4d333bde8088109900 (plain)
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
// objective: test the `cond` command
// check: 015__cond_8c.xml
// config: ENABLED_SECTIONS = COND_ENABLED

/** \file
 *  Text \a argument more text.
 */

/// \cond

/** A function */
void func();

/** A macro */
#define MACRO 42

/// \endcond

/// \cond COND_ENABLED
/// Function to be shown.
void cond_enabled()
{
}
/// \endcond

/** \cond COND_DISABLED */
    Function not to be shown.
void cond_disabled()
{
}
/** \endcond */