aboutsummaryrefslogtreecommitdiff
path: root/libctf/testsuite/libctf-lookup/enum-ctf-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libctf/testsuite/libctf-lookup/enum-ctf-2.c')
-rw-r--r--libctf/testsuite/libctf-lookup/enum-ctf-2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libctf/testsuite/libctf-lookup/enum-ctf-2.c b/libctf/testsuite/libctf-lookup/enum-ctf-2.c
new file mode 100644
index 0000000..39c9865
--- /dev/null
+++ b/libctf/testsuite/libctf-lookup/enum-ctf-2.c
@@ -0,0 +1,6 @@
+enum e { ENUMSAMPLE_1 = 6, ENUMSAMPLE_2 = 7 };
+
+enum ie2 { IENUMSAMPLE2_1 = -10, IENUMSAMPLE2_2 };
+
+enum e baz;
+enum ie2 quux;