* gcc.dg/20000111-1.c: New test.

From-SVN: r31339
This commit is contained in:
Alexandre Oliva 2000-01-11 23:28:38 +00:00 committed by Alexandre Oliva
parent 3d994c6bef
commit a5bfff0ce6
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* gcc.dg/20000111-1.c: New test.
Mon Jan 10 18:12:49 2000 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990628-1.c: Tweak to work on targets

View File

@ -0,0 +1,17 @@
/* Copyright (C) 2000 Free Software Foundation.
by Alexandre Oliva <oliva@lsd.ic.unicamp.br> */
/* { dg-do compile } */
inline int
foo (int **q) {
return *q && **q;
}
void
bar () {
int **p;
if (foo (p))
do_something ();
}