summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20000111-1.c
blob: a042656d5647bf4cc8ce5bd337b695ea61d2b86a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 ();
}