Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr63913.C
blob: 34dceb4d844160bddf16cdd82fa4f7058eba3ff8 [
file
] [
log
] [
blame
]
// PR sanitizer/63913
// { dg-do compile }
// { dg-options "-fsanitize=bool -fnon-call-exceptions" }
struct
B
{
B
();
~
B
();
};
double
foo
(
bool
*
x
)
{
B b
;
return
*
x
;
}