]>
Commit | Line | Data |
---|---|---|
5e1b4477 | 1 | /* { dg-do compile } */ |
87454aad | 2 | /* { dg-require-effective-target string_merging } */ |
5e1b4477 BE |
3 | /* { dg-options "-w -O2 -fmerge-all-constants" } */ |
4 | ||
5 | const char str1[36] = "0123456789abcdefghijklmnopqrstuvwxyz"; | |
6 | const char str2[37] = "0123456789abcdefghijklmnopqrstuvwxyz"; | |
7 | const char str3[10] = "0123456789abcdefghijklmnopqrstuvwxyz"; | |
8 | ||
9 | /* { dg-final { scan-assembler-not "\\.rodata\[\n\r\]" } } */ |