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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [debug/] [debug9.C] - Rev 853

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

/* { dg-do assemble } */
/* This testcase requires entries in the debug_range section in DWARF which
   refer to a vague linkage function.  */

struct s
{
  ~s ();
};

bool f1 ();
s f2 (s);

template<int x> void
f3(const s & a)
{
  while (f1 () && f1 ())
    {
      s c = f2(a);
    }
}

int main()
{
   f3<0>(s ());
   return 0;
}

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

powered by: WebSVN 2.1.0

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