inline-1.c: Fix up scan-tree-dump-times for '(' / ')' needing an extra '\'.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / inline-1.c
blob7b9e3be499a6a1145c0c44fc56ba6e2295f80957
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-final_cleanup" } */
5 typedef struct {
6 double min;
7 double max;
8 } interval;
9 inline interval add(interval x, interval y) __attribute__((always_inline));
10 inline interval add(interval x, interval y)
12 interval r;
13 r.min = x.min + y.min;
14 r.max = x.max + y.max;
15 return r;
17 interval foo (interval a, interval b, interval c)
19 return add (a, add (b, c));
23 /* { dg-final { scan-tree-dump-times "\\(struct interval\\)" 0 "final_cleanup"} } */
24 /* { dg-final { cleanup-tree-dump "final_cleanup" } } */