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-10.C] - Blame information for rev 774

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
template  using Ptr = T*;
4
Ptr; // { dg-error "does not declare anything" }
5
Ptr; // { dg-error "not a template|does not declare anything" }
6
template class Ptr;//{ dg-error "alias template specialization\[^\n\r\]*after\[^\n\r\]*class" }
7
 
8
template  using Arg = T;
9
struct A {};
10
template class Arg;// { dg-error "alias templ\[^\n\r\]*specialization\[^\n\r\]*Arg\[^\n\r\]*after\[^\n\r\]*class" }
11
 
12
template