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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [alias-decl-1.C] - Blame information for rev 715

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-std=c++0x" }
2
 
3
// These also represent tests for printing alias declarations and
4
// their instantiations.
5
 
6
template struct A0 {};
7
template using AA0 = A0;
8
template struct AA0 {}; // { dg-error "partial specialization" }
9
 
10
template  using Ptr = U*;
11
template struct Ptr {}; // { dg-error "partial specialization" }
12
 
13
struct A {
14
    using A = int;//{ dg-error "nested|has|same name as|class|in which|declared" }
15
};

powered by: WebSVN 2.1.0

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