diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-11-13 16:28:05 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-11-13 16:29:09 +0000 |
commit | 03ac50856c9fc8c96b7a17239ee40a10397750a7 (patch) | |
tree | a648c6d3428e4757e003f6ed1748adb9613065db /gcc/testsuite/gcc.dg/unused-2.c | |
parent | 34efdaf078b01a7387007c4e6bde6db86384c4b7 (diff) | |
download | gcc-tarball-03ac50856c9fc8c96b7a17239ee40a10397750a7.tar.gz |
gcc 7.2.0
This is imported manually due to a bug in the tarball import script.
See the baserock-dev mailing list archives (November 2017) for a
more detailed explaination of the issue.
Diffstat (limited to 'gcc/testsuite/gcc.dg/unused-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/unused-2.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/testsuite/gcc.dg/unused-2.c b/gcc/testsuite/gcc.dg/unused-2.c deleted file mode 100644 index 454606ec95..0000000000 --- a/gcc/testsuite/gcc.dg/unused-2.c +++ /dev/null @@ -1,18 +0,0 @@ -/* Copyright (C) 2000 Free Software Foundation. - - by Alexandre Oliva <oliva@lsd.ic.unicamp.br> */ - -/* { dg-do compile } */ -/* { dg-options "-O2 -finline-functions -Wunused -Wreturn-type" } */ - -static void -foo () -{ - skip_it: ; /* { dg-warning "defined but not used" "unused label warning" } */ -} - -void -bar () -{ - foo (); -} |