1 // Test whether vtable for S is not put into read-only section.
2 // { dg-do compile { target fpic } }
3 // { dg-options "-O2 -fpic -fno-rtti" }
4 // { dg-skip-if "No Windows PIC" { *-*-mingw* *-*-cygwin } }
5 // Origin: Jakub Jelinek <jakub@redhat.com>
9 virtual void vm (void) {};
12 // { dg-final { scan-assembler-not "section\[^\n\r\]*_ZTV1S\[^\n\r\]*\"\[^w\"\n\r\]*\"" } }