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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [vt-34055.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-std=c++0x" }
2
// PR c++/34055
3
template struct A;
4
 
5
template struct A // { dg-error "parameter packs|T" }
6
{
7
  void foo();
8
};
9
 
10
template void A::foo() {} // { dg-error "invalid declarator" }
11
 
12
 
13
 
14
template struct B;
15
 
16
template struct B // { dg-error "parameter packs|T" }
17
{
18
  void foo();
19
};
20
 
21
template void B::foo() {} // { dg-error "invalid declarator" }
22
 
23
 
24
template struct C;
25
 
26
template struct C // { dg-error "parameter packs|T" }
27
{
28
  void foo();
29
};
30
 
31
template void C::foo() {} // { dg-error "invalid declarator" }

powered by: WebSVN 2.1.0

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