File: test-enum.c

package info (click to toggle)
libabigail 2.6-2
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 1,019,172 kB
  • sloc: xml: 572,532; cpp: 108,400; sh: 12,117; ansic: 4,199; makefile: 3,355; python: 1,672; ada: 62
file content (8 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
/* 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;