summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/mpx/pr66569.c
blob: ba2023c68462d3bcae27eebfb471ac518d976cdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-fcheck-pointer-bounds -mmpx" } */

struct s1 {
  int *p;
  int i;
};

struct s2 {
  struct s1 s;
  int i;
};

int test (struct s2 s, ...) { }