diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/20051207-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/20051207-2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/20051207-2.c b/gcc/testsuite/gcc.dg/20051207-2.c new file mode 100644 index 000000000..8a8708794 --- /dev/null +++ b/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; |