summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/20031231-1.c
blob: fa20260b50eaf4ad9d389bf8948ee1004638a4a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* { dg-do compile } */

/* We used to fail because GCC didn't expect always inline to be inlined at
   -O0.  */
typedef union tree_node *tree;
typedef struct c_pretty_print_info c_pretty_printer;


void pp_c_string_literal (c_pretty_printer *, tree);


static __inline__  __attribute__((always_inline)) void
pp_c_shift_expression (c_pretty_printer *pp, tree e)
{
}

static void
pp_c_relational_expression (c_pretty_printer *pp, tree e)
{
        pp_c_shift_expression (pp, e);
}