Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.old-deja/g++.robertl/eb103.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 1830386684a0 |
rev | line source |
---|---|
111 | 1 // { dg-do assemble } |
2 // Error: Internal compiler error in 2.7.2 & EGCS 1.0.0 | |
3 | |
4 template <int nlimb, int i> | |
5 inline unsigned f (unsigned* ptr); | |
6 template <int nlimb> | |
7 inline unsigned f<nlimb,nlimb> (unsigned* ptr) // { dg-error "partial specialization" } | |
8 { | |
9 return 1; | |
10 } | |
11 |