blob: 50d902beae1869aef84550db8a2547bc0b11d917 [file] [log] [blame]
// PR c++/104142
// { dg-do compile { target c++11 } }
// { dg-additional-options -Wunused-variable }
// { dg-options "-msmall-data-limit=0" { target { riscv*-*-* } } }
struct B { B()=default; };
static const B b_var; // { dg-bogus "" }
// { dg-final { scan-assembler-symbol-section {b_var} {^\.(const|rodata)|\[RO\]} } }