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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// Copyright (C) 2005 Free Software Foundation, Inc.
2
// Contributed by Nathan Sidwell 7 Jan 2005 
3
 
4
// PR 19298: Rejects legal
5
// Origin: Andrew Pinski 
6
 
7
struct t
8
{
9
  void f() const;
10
};
11
 
12
template 
13
struct A
14
{
15
 static t const&  c;
16
};
17
 
18
template 
19
void g(void)
20
{
21
  A<_Tp>::c.f();
22
}
23
 
24
void h(void)
25
{
26
  g();
27
}

powered by: WebSVN 2.1.0

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