OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [unify2.C] - Blame information for rev 832

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do compile }
2
 
3
template void f1 (char [][I+1]) {}
4
template void f2 (char [][I+0]) {}
5
template void f3 (char [][I]) {}
6
template void f4 (char [][I-0]) {}
7
template void f5 (char [][I-1]) {}
8
 
9
template void f1 (char [][6]); // { dg-error "does not match" }
10
template void f2 (char [][6]); // { dg-error "does not match" }
11
template void f3 (char [][6]);
12
template void f4 (char [][6]); // { dg-error "does not match" }
13
template void f5 (char [][6]); // { dg-error "does not match" }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.