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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [explicit73.C] - Blame information for rev 199

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
 
3
// by Alexandre Oliva 
4
 
5
// According to [temp.expl.spec]/2, a template explicit specialization
6
// must be declared in the namespace that contains the declaration of
7
// the template
8
 
9
namespace N {
10
  template  class foo;  // { dg-error "" } referenced below
11
}
12
 
13
using namespace N;
14
 
15
template <> class foo; // { dg-error "" } invalid specialization

powered by: WebSVN 2.1.0

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