Commit 3f50679d by Alexandre Oliva Committed by Alexandre Oliva

* gcc.dg/unused-2.c: New test.

From-SVN: r31627
parent 3ebed0b2
2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/unused-2.c: New test.
* gcc.dg/conv-1.c: New test.
2000-01-24 Mark Mitchell <mark@codesourcery.com>
......
/* Copyright (C) 2000 Free Software Foundation.
by Alexandre Oliva <oliva@lsd.ic.unicamp.br> */
/* { dg-do compile } */
/* { dg-options "-O2 -finline-functions -Wall" } */
static void
foo ()
{
skip_it: ; /* { dg-warning "unused label" "unused label warning" } */
}
void
bar ()
{
foo ();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment