summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <stefkost@src.gnome.org>2007-08-12 18:44:14 +0000
committerStefan Kost <stefkost@src.gnome.org>2007-08-12 18:44:14 +0000
commit9b66bff5ca8e99775b06072912a61ec34a6157ad (patch)
tree1b0490f2c31cbf5014f13d5728b9e8c0d93bd125
parent9993c577bfb3e767aeb245c97ffc7bbbe55983cd (diff)
downloadgtk-doc-9b66bff5ca8e99775b06072912a61ec34a6157ad.tar.gz
Add another test for a bug we fixed with the changes below. Fixes #460127.
* tests/bugs/docs/tester-sections.txt: * tests/bugs/src/tester.h: Add another test for a bug we fixed with the changes below. Fixes #460127. svn path=/trunk/; revision=475
-rw-r--r--ChangeLog7
-rw-r--r--tests/bugs/docs/tester-sections.txt1
-rw-r--r--tests/bugs/src/tester.h20
3 files changed, 28 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3996de3..dda5e12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2007-08-12 Stefan Kost <ensonic@users.sf.net>
+ * tests/bugs/docs/tester-sections.txt:
+ * tests/bugs/src/tester.h:
+ Add another test for a bug we fixed with the changes below.
+ Fixes #460127.
+
+2007-08-12 Stefan Kost <ensonic@users.sf.net>
+
* gtkdoc-scan.in:
* tests/bugs/docs/tester-sections.txt:
* tests/bugs/src/tester.c:
diff --git a/tests/bugs/docs/tester-sections.txt b/tests/bugs/docs/tester-sections.txt
index 5b9dd2a..1dab3a6 100644
--- a/tests/bugs/docs/tester-sections.txt
+++ b/tests/bugs/docs/tester-sections.txt
@@ -7,6 +7,7 @@ bug_379466
bug_411739
bug_419997
bug_445693
+bug_460127
<SUBSECTION Standard>
<SUBSECTION Private>
</SECTION>
diff --git a/tests/bugs/src/tester.h b/tests/bugs/src/tester.h
index 169af39..af753cd 100644
--- a/tests/bugs/src/tester.h
+++ b/tests/bugs/src/tester.h
@@ -5,6 +5,26 @@
#include <glib.h>
+#define _PADDDING 4
+/**
+ * bug_460127:
+ * @a: field
+ *
+ * http://bugzilla.gnome.org/show_bug.cgi?id=460127
+ */
+struct _bug_460127 {
+ /*< public >*/
+ gint a;
+
+ /*< private >*/
+ union {
+ struct {
+ gint b;
+ } ABI;
+ gpointer _reserved[_PADDDING + 0];
+ } abidata;
+};
+
struct bug {
int test;
};