aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.misc-tests/gcov-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests/gcov-1.c')
-rw-r--r--gcc/testsuite/gcc.misc-tests/gcov-1.c22
1 files changed, 2 insertions, 20 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/gcov-1.c b/gcc/testsuite/gcc.misc-tests/gcov-1.c
index 20fc950dddc..9196059e635 100644
--- a/gcc/testsuite/gcc.misc-tests/gcov-1.c
+++ b/gcc/testsuite/gcc.misc-tests/gcov-1.c
@@ -1,20 +1,2 @@
-/* Test Gcov basics. */
-
-/* { dg-options "-fprofile-arcs -ftest-coverage" } */
-/* { dg-do run { target native } } */
-
-noop ()
-{
-}
-
-main ()
-{
- int i;
-
- for (i = 0; i < 10; i++) /* count(11) */
- noop (); /* count(10) */
-
- return 0; /* count(1) */
-}
-
-/* { dg-final { run-gcov gcov-1.c } } */
+void noop ()
+int main ()