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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [gcov/] [gcov-12.C] - Rev 710

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

/* PR 51113 */
/* { dg-options "-fprofile-arcs -ftest-coverage -fpic" } */
/* { dg-do run { target native } } */
/* { dg-additional-sources "gcovpart-12b.C" } */

struct Foo {
  Foo ()
  {}  /* count(1) */
  virtual void Func () /* count(#####) */
  {}   /* count(#####) */
};

int main ()
{
  Foo b;
  
  return 0;  /* count (1) */
}

/* { dg-final { run-gcov gcov-12.C } } */
/* { dg-final { run-gcov gcovpart-12b.C { xfail *-*-* } } } */

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.