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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [debug/] [debug9.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
/* { dg-do assemble } */
2
/* This testcase requires entries in the debug_range section in DWARF which
3
   refer to a vague linkage function.  */
4
 
5
struct s
6
{
7
  ~s ();
8
};
9
 
10
bool f1 ();
11
s f2 (s);
12
 
13
template void
14
f3(const s & a)
15
{
16
  while (f1 () && f1 ())
17
    {
18
      s c = f2(a);
19
    }
20
}
21
 
22
int main()
23
{
24
   f3<0>(s ());
25
   return 0;
26
}

powered by: WebSVN 2.1.0

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