repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Enable LRA for ia64
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.benjamin
/
14664-1.C
blob
966507c4b868087094e8eefe7d9aa8586f6aa8e1
1
// { dg-do assemble }
2
// 981203 bkoz
3
// g++/14664 - test
4
5
char foo[26];
6
7
void bar()
8
{
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 -
12
}
13
14
15