☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr63913.C
☽
☼
gcc/testsuite/g++.dg/ubsan/pr63913.C
code
plain
raw
1
// PR sanitizer/63913
2
// { dg-do compile }
3
// { dg-options "-fsanitize=bool -fnon-call-exceptions" }
4
5
struct B { B (); ~B (); };
6
7
double
8
foo (bool *x)
9
{
10
B b;
11
return *x;
12
}