summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20051207-2.c
blob: 8a8708794a4c3ff13ae4cc84e8892235111ffdf0 (plain)
1
2
3
4
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;