xref: /netbsd-src/external/gpl3/gdb/dist/libctf/testsuite/libctf-lookup/enum-ctf.c (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1 /* Looked up item by item. */
2 enum e { ENUMSAMPLE_1 = 0, ENUMSAMPLE_2 = 1 };
3 
4 /* Looked up via both sorts of iterator in turn.  */
5 enum ie { IENUMSAMPLE_1 = -10, IENUMSAMPLE_2, IENUMSAMPLE_3 };
6 
7 enum e foo;
8 enum ie bar;
9