☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
asan
/
pr104449.C
☽
☼
gcc/testsuite/g++.dg/asan/pr104449.C
code
plain
raw
1
// PR sanitizer/104449
2
// { dg-do compile }
3
// { dg-options "-fexceptions -fsanitize=address -fstack-check=generic" }
4
5
void bar (int *);
6
struct A { A (); ~A (); };
7
8
void
9
foo (int n)
10
{
11
A b;
12
{
13
int a[n];
14
bar (a);
15
}
16
}