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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.benjamin
/
14664-2.C
blob
468953bc6c1af0c4a4c0382d89637cd1708f1cc7
1
// { dg-do assemble }
2
// { dg-options "-fpermissive -w" }
3
// 981203 bkoz
4
// g++/14664 + test
5
6
char foo[26];
7
8
void bar()
9
{
10
// the addition of the flag "-fno-const-string-literal" reverts to pre-ISO.
11
// -g++: ANSI C++ forbids assignment of arrays
12
foo = "0123456789012345678901234"; // WARNING -
13
}
14
15
16