Commit bf911a9a by Jakub Jelinek Committed by Jakub Jelinek

* testsuite/gcc.dg/20011015-1.c: New test.

From-SVN: r46331
parent 87992ab6
2001-10-18 Jakub Jelinek <jakub@redhat.com>
* testsuite/gcc.dg/20011015-1.c: New test.
2001-10-14 Richard Sandiford <rsandifo@redhat.com> 2001-10-14 Richard Sandiford <rsandifo@redhat.com>
* g++.dg/template/unify2.C: New test. * g++.dg/template/unify2.C: New test.
......
/* { dg-do compile } */
/* { dg-options "-O3 -std=gnu99" } */
char foo (char *x)
{
return *x;
}
void bar (char *x)
{
void *arr[foo (x)] __attribute__((unused));
}
void baz (char *x)
{
bar (x);
}
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