summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.benjamin/14664-2.C
blob: 364f30c4b271ab00f1a053a80d429602ad08662b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// { dg-options "-fpermissive -w" }
// 981203 bkoz
// g++/14664 + test

char foo[26];

void bar()
{
  foo = "0123456789012345678901234"; // { dg-error "array" }
}