1 #include <string.h>
2 
3 /* { dg-final { scan-assembler "\.rodata*" } } */
4 /* { dg-final { scan-assembler "\.data*" } } */
5 const char *string1 = "string1";
6 
testfunc(char * cptr)7 char* testfunc (char *cptr)
8 {
9 /* { dg-final { scan-assembler-not "\lwi\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r13" } } */
10     strcpy (cptr, string1);
11 
12     return cptr;
13 }
14