* gcc.dg/20000111-1.c: New test.
From-SVN: r31339
This commit is contained in:
parent
3d994c6bef
commit
a5bfff0ce6
@ -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
|
||||
|
17
gcc/testsuite/gcc.dg/20000111-1.c
Normal file
17
gcc/testsuite/gcc.dg/20000111-1.c
Normal 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 ();
|
||||
}
|
Loading…
Reference in New Issue
Block a user