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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [spec8.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
 
3
// Specialization of member class template.
4
 
5
template struct A
6
{
7
  template struct B {};
8
  template struct C {};
9
};
10
 
11
template <> template <> struct A::B;
12
template <> template  struct A::B {};
13
A::B ab;                // { dg-error "incomplete" }
14
 
15
A::C ac;
16
template <> template  struct A::C {}; // { dg-error "specialization" }

powered by: WebSVN 2.1.0

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