aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/20051207-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/20051207-2.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/20051207-2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/20051207-2.c b/gcc-4.9/gcc/testsuite/gcc.dg/20051207-2.c
new file mode 100644
index 000000000..8a8708794
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/20051207-2.c
@@ -0,0 +1,5 @@
+/* GCC doesn't generate any .eh_frame data for this TU itself, so it
+ shouldn't warn about "a" conflicting with the built-in idea of
+ .eh_frame, even if it thinks that .eh_frame should be read-write. */
+/* { dg-require-named-sections "" } */
+const int a __attribute__((section (".eh_frame"))) = 1;