1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fwritable-strings -w" } */
3 /* { dg-error "-fwritable-strings is deprecated" "" { target *-*-* } 0 } */
5 struct S
{ char *a
, *b
; };
11 {"ABCDEFGH0123", "T"},
12 {"ABCDEFGH4567", "T"},
13 {"ABCDEFGH89ZYX", "T"},
22 __asm
__volatile ("" : : "r" (s
) : "memory");
26 /* Test whether strings aren't output more than once. */
27 /* { dg-final { scan-assembler-not "ABCDEFGH0123.*ABCDEFGH0123" } } */