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/] [partial-specialization.C] - Diff between revs 149 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
// Contributed by Gabriel Dos Reis 
// Contributed by Gabriel Dos Reis 
// Origin: philippeb@videotron.ca
// Origin: philippeb@videotron.ca
// { dg-do compile }
// { dg-do compile }
struct B
struct B
{
{
        int i;
        int i;
};
};
template 
template 
        struct A;
        struct A;
template 
template 
        struct A<_T, int, _V>
        struct A<_T, int, _V>
        {
        {
        };
        };
int main()
int main()
{
{
        A a;
        A a;
}
}
 
 

powered by: WebSVN 2.1.0

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