aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr96260.c
blob: 734832f021e321f58b8a73d09539114bef33ee0f (plain)
1
2
3
4
5
6
7
8
9
10
/* PR target/96260 */
/* { dg-do compile } */
/* { dg-require-effective-target no_fsanitize_address }*/
/* { dg-options "--param asan-stack=1 -fsanitize=kernel-address -fasan-shadow-offset=0x100000" } */

int *bar(int *);
int *f( int a)
{
  return bar(&a);
}