URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Check that gcov doesn't abort when a static object is defined
|
/* Check that gcov doesn't abort when a static object is defined
|
within a header file. */
|
within a header file. */
|
|
|
/* { dg-options "-fprofile-arcs -ftest-coverage" } */
|
/* { dg-options "-fprofile-arcs -ftest-coverage" } */
|
/* { dg-do run { target native } } */
|
/* { dg-do run { target native } } */
|
|
|
#include "gcov-3.h"
|
#include "gcov-3.h"
|
|
|
extern int foo();
|
extern int foo();
|
|
|
int
|
int
|
main ()
|
main ()
|
{
|
{
|
return foo(); /* count(1) */
|
return foo(); /* count(1) */
|
}
|
}
|
|
|
/* { dg-final { run-gcov gcov-3.C } } */
|
/* { dg-final { run-gcov gcov-3.C } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.