aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/expand/cost-deref-nested.c
blob: b09602b6acc697dfd863a44150d082e8579d6082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
struct s {
	struct {
		int u, v;
	} a, b;
};

static const struct s s;

static int foo(int c)
{
	return c && s.b.v;
}

/*
 * check-name: cost-deref-nested
 * check-command: test-linearize -fdump-ir $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-excludes: cbr
 */