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/] [spec3.C] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/3870
2
// Test that performing a type instantiation in order to match up a
3
// specialization doesn't clobber last_function_parms.
4
 
5
template 
6
struct A { typedef int I; };
7
 
8
template 
9
inline typename T::I
10
foo (typename T::I, const T*);
11
 
12
template <>
13
int foo (int i, const A*)
14
{
15
    return i + 1;
16
}

powered by: WebSVN 2.1.0

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