mirror of
https://github.com/siemens-mobile-hacks/doxygen.git
synced 2026-11-25 22:27:34 +00:00
This test case produces the following warnings: 101_static_assert.c:17: warning: Member _Static_assert(2==2) (function) of file 101_static_assert.c is not documented. 101_static_assert.c:18: warning: Member _Static_assert(3==3, "m3") (function) of file 101_static_assert.c is not documented.
18 lines
354 B
C
18 lines
354 B
C
// objective: test static assertions
|
|
// check: 101__static__assert_8c.xml
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* @code{.java}
|
|
* public class static_assert {
|
|
* public static void static_assert() {}
|
|
* public static void _Static_assert() {}
|
|
* }
|
|
* @endcode
|
|
*/
|
|
|
|
static_assert(0 == 0);
|
|
static_assert(1 == 1, "m1");
|
|
_Static_assert(2 == 2);
|
|
_Static_assert(3 == 3, "m3");
|