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] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
/* PR 51113 */
2
/* { dg-options "-fprofile-arcs -ftest-coverage -fpic" } */
3
/* { dg-do run { target native } } */
4
/* { dg-additional-sources "gcovpart-12b.C" } */
5
 
6
struct Foo {
7
  Foo ()
8
  {}  /* count(1) */
9
  virtual void Func () /* count(#####) */
10
  {}   /* count(#####) */
11
};
12
 
13
int main ()
14
{
15
  Foo b;
16
 
17
  return 0;  /* count (1) */
18
}
19
 
20
/* { dg-final { run-gcov gcov-12.C } } */
21
/* { dg-final { run-gcov gcovpart-12b.C { xfail *-*-* } } } */

powered by: WebSVN 2.1.0

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