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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [gcov/] [gcov-14.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-options "-fprofile-arcs -ftest-coverage -Ofast" } */
2
/* { dg-do run { target native } } */
3
 
4
#include 
5
 
6
void __attribute__ ((noinline))
7
  Out (std::ostream &out, double x)
8
{ out << x << std::endl; } /* count(1) */
9
 
10
int main ()
11
{
12
  Out (std::cout, 1.5); /* count(1) */
13
  return 0;
14
}
15
 
16
/* { dg-final { run-gcov gcov-14.C } } */

powered by: WebSVN 2.1.0

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