blob: 1b7d7032ecb1874fbe75040f1eac7db75043dd9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* { dg-do compile } */
/* { dg-options "-Os -fcheck-pointer-bounds -mmpx" } */
typedef void (func) (int *);
static inline void
bar (func f)
{
int i;
f (&i);
}
void
foo ()
{
bar (0);
}
|