Imported Upstream version 1.8.15
[platform/upstream/doxygen.git] / testing / 015_cond.c
1 // objective: test the `cond` command
2 // check: 015__cond_8c.xml
3 // config: ENABLED_SECTIONS = COND_ENABLED
4
5 /** \file
6  *  Text \a argument more text.
7  */
8
9 /// \cond
10
11 /** A function */
12 void func();
13
14 /** A macro */
15 #define MACRO 42
16
17 /// \endcond
18
19 /// \cond COND_ENABLED
20 /// Function to be shown.
21 void cond_enabled()
22 {
23 }
24 /// \endcond
25
26 /** \cond COND_DISABLED */
27     Function not to be shown.
28 void cond_disabled()
29 {
30 }
31 /** \endcond */
32