1 /* GCC doesn't generate any .eh_frame data for this TU itself, so it
2 shouldn't warn about "a" conflicting with the built-in idea of
3 .eh_frame. The warning therefore belongs on the second decl. */
4 /* { dg-options "-fno-unit-at-a-time" } */
5 /* { dg-require-named-sections "" } */
6 int a
__attribute__((section (".eh_frame"))) = 1;
7 const int b
__attribute__((section (".eh_frame"))) = 1; /* { dg-error "section type conflict" } */