diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2013-08-26 12:39:47 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-01-25 15:53:49 +0000 |
commit | 832602b5d5dc9284479a234d6f2edb27f6762928 (patch) | |
tree | a7e2b440c01487417e8976ef645ad761d0eeac1f /tests/scanner/regress.h | |
parent | e56d70da837bd309bf8cddbce309a5a773e098b6 (diff) | |
download | gobject-introspection-832602b5d5dc9284479a234d6f2edb27f6762928.tar.gz |
regress: Check that enum value assignments work for all members
Value assignments can happen at any point in the enumeration
declaration.
https://bugzilla.gnome.org/show_bug.cgi?id=629667
Diffstat (limited to 'tests/scanner/regress.h')
-rw-r--r-- | tests/scanner/regress.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h index d6752a1c..7f315fdc 100644 --- a/tests/scanner/regress.h +++ b/tests/scanner/regress.h @@ -376,7 +376,8 @@ typedef enum REGRESS_TEST_VALUE1, REGRESS_TEST_VALUE2, REGRESS_TEST_VALUE3 = -1, - REGRESS_TEST_VALUE4 = '0' + REGRESS_TEST_VALUE4 = '0', + REGRESS_TEST_VALUE5 } RegressTestEnum; typedef enum |