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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [linkage4.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
// Origin: Mark Mitchell 
3
 
4
static int strlen (const char*) { return 0; }
5
 
6
template 
7
void f () {}
8
 
9
// Check that the strlen declaration here is given internal linkage by
10
// using it as a non-type template argument, and expecting an error.
11
template void f(); // { dg-error "" } no matching template

powered by: WebSVN 2.1.0

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