Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/libctf/testsuite/libctf-lookup/enum-ctf.c
2023-03-06 14:48:14 +01:00

8 lines
220 B
C

/* Looked up item by item. */
enum e { ENUMSAMPLE_1 = 0, ENUMSAMPLE_2 = 1 };
/* Looked up via both sorts of iterator in turn. */
enum ie { IENUMSAMPLE_1 = -10, IENUMSAMPLE_2, IENUMSAMPLE_3 };
enum e foo;
enum ie bar;