Enable LRA for ia64
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.benjamin / 14664-1.C
blob966507c4b868087094e8eefe7d9aa8586f6aa8e1
1 // { dg-do assemble  }
2 // 981203 bkoz
3 // g++/14664 - test
5 char foo[26];
7 void bar()
9   //-g++: incompatible types in assignment of 'const char[]' to 'char[]'
10   //-edg: expression must be a modifiable lvalue
11   foo = "0123456789012345678901234"; // { dg-error "7:invalid array assignment" } // ERROR -