summaryrefslogtreecommitdiff
path: root/tests/headers/enum-doc.h
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2018-02-12 19:29:07 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2018-02-12 20:41:24 +0100
commit5d04c364414699f7a2a0f16383fb29e68b4fdca3 (patch)
tree5b2cb1d8af3e9b522b86d1a90a190f2bd58ad53d /tests/headers/enum-doc.h
parent079d8383cc02cdce355af4cc8110317dfd362e37 (diff)
codegen: Expose variant comments.
Diffstat (limited to 'tests/headers/enum-doc.h')
-rw-r--r--tests/headers/enum-doc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/headers/enum-doc.h b/tests/headers/enum-doc.h
new file mode 100644
index 00000000..53a91201
--- /dev/null
+++ b/tests/headers/enum-doc.h
@@ -0,0 +1,11 @@
+/** Document enum */
+enum B {
+ /// Document field with three slashes
+ VAR_A = 0,
+ /** Document field with preceeding star */
+ VAR_B = 1,
+ /*! Document field with preceeding exclamation */
+ VAR_C = 2,
+ VAR_D = 3, /**< Document field with following star */
+ VAR_E = 4, /*!< Document field with following exclamation */
+};