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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/50864
2
 
3
namespace impl
4
{
5
  template  T create();
6
}
7
 
8
template 
9
          = sizeof(impl::create()->*impl::create())>
10
struct foo1;
11
 
12
template 
13
          = sizeof(impl::create()->impl::create())> // { dg-error "not a class member" }
14
struct foo2;
15
 
16
template 
17
          = sizeof(impl::create().impl::create())> // { dg-error "not a class member" }
18
struct foo3;

powered by: WebSVN 2.1.0

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