doxygen/tests/upstream-test-suite/014_code.dox

19 lines
285 B
Plaintext

// objective: test the \code command
// check: indexpage.xml
/** \mainpage
* \code{.py}
* # comment in Python
* class Python:
* pass
* \endcode
*
* \code{.cpp}
* // comment in a code block
* class Cpp {};
* \endcode
*
* \code
* // implicit code language
* \endcode
*/