Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/crash51.C

raw
1 // { dg-do assemble }
2 // Origin: Mark Mitchell <[email protected]>
3
4 char foo[26];
5
6 template <class T>
7 void f ()
8 {
9 foo = "0123456789012345678901234"; // { dg-error "array" }
10 }
11
12 template void f<int>();