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-17.C] - Blame information for rev 717

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

Line No. Rev Author Line
1 693 jeremybenn
// Origin PR c++/51289
2
// { dg-options "-std=c++11" }
3
 
4
template class b>
5
struct foo {
6
  template 
7
  using type = b;
8
  template 
9
  b funca() {}
10
 
11
  template 
12
  type funcb() {}
13
};
14
 
15
// This is an additional test, to emit an error message when using
16
// unexpanded parameter packs in an alias declaration.
17
template 
18
struct S {};
19
 
20
template
21
using A = S; // { dg-error "parameter packs not expanded" }

powered by: WebSVN 2.1.0

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