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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.misc-tests/] [gcov-12.c] - Blame information for rev 713

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

Line No. Rev Author Line
1 690 jeremybenn
/* Test gcov weak ellision.  */
2
 
3
/* { dg-options "-fprofile-arcs -ftest-coverage" } */
4
/* { dg-require-weak "" } */
5
/* { dg-do run { target native } } */
6
 
7
int __attribute__ ((weak)) weak ()
8
{
9
  return 0;  /* count(1) */
10
}
11
 
12
int main ()
13
{
14
  return weak (); /* count(1) */
15
}
16
 
17
/* { dg-final { run-gcov { -a gcov-12.c } } } */

powered by: WebSVN 2.1.0

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