aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20000111-1.c
blob: 2015747b5364e9d2d641bb13d5261729d4015659 (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 ();
}