blob: 49f75ed69cf80fe93956d9d5f0abefa24274aa85 [file] [log] [blame]
// PR sanitizer/105093
// { dg-do compile }
// { dg-options "-O2 -fsanitize=undefined -Wno-volatile" }
struct X { X (); ~X (); };
volatile X
foo ()
{
X x;
return x;
}