xref: /netbsd-src/external/gpl3/gdb/dist/libctf/testsuite/libctf-lookup/enum-ctf.c (revision 6881a4007f077b54e5f51159c52b9b25f57deb0d)
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