repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
asan
/
pr104449.C
blob
166ed8ddb915e049520d070673437251ed0fdfaf
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
}