1 /* { dg-options "-fmerge-all-constants" } */
3 /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
5 const char kRecoveryInstallString
[] = "NEW";
6 const char kRecoveryUpdateString
[] = "UPDATE";
7 const char kRecoveryUninstallationString1
[] = "INSTALL";
8 const char kRecoveryUninstallationString2
[] = "UNINSTALL";
10 volatile const int zero
= 0;
15 char x1
= kRecoveryInstallString
[zero
+ 0];
16 char x2
= kRecoveryUpdateString
[zero
+ 0];
17 char x3
= kRecoveryUninstallationString1
[zero
+ 0];
18 char x4
= kRecoveryUninstallationString2
[zero
+ 0];
19 return (x1
+ x2
+ x3
+ x4
) == 0;