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

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