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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.benjamin
/
14664-1.C
blob
9a6e644433c478ad08e08c9d71a1e12c6572f1ff
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 "" } // ERROR -
12
}
13
14
15