aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ctf/enum-4.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-ctf/enum-4.c')
-rw-r--r--ld/testsuite/ld-ctf/enum-4.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-ctf/enum-4.c b/ld/testsuite/ld-ctf/enum-4.c
new file mode 100644
index 0000000..0063424
--- /dev/null
+++ b/ld/testsuite/ld-ctf/enum-4.c
@@ -0,0 +1,3 @@
+enum intersecting_days_of_the_week {Montag = 1, Tuesday = 2};
+
+static enum intersecting_days_of_the_week day __attribute__((used));