Hi,
this patch fixes a 'return type defaults to int' warning in test-case
gcc.dg/tree-prof/comp-goto-1.c.
Committed as obvious.
Thanks,
- Tom
Fix warning in gcc.dg/tree-prof/comp-goto-1.c
2017-06-21 Tom de Vries <t...@codesourcery.com>
* gcc.dg/tree-prof/comp-goto-1.c: Fix 'return type defaults to int'
warning.
---
gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c b/gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c
index bb1d120..fe768f9 100644
--- a/gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c
+++ b/gcc/testsuite/gcc.dg/tree-prof/comp-goto-1.c
@@ -165,5 +165,5 @@ main ()
exit (0);
}
#else
-main(){ exit (0); }
+int main(){ exit (0); }
#endif