Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
opt
/
compound1.C
blob: cf81e69808986bbe17eaaef5fd339134231bc983 [
file
] [
log
] [
blame
]
// PR c++/33709
// { dg-do compile }
// { dg-options "-O2" }
class
S
{
virtual
void
foo
();
};
struct
T
{
S
*
s
;
void
bar
(
unsigned
x
)
{
s
=
(
new
S
[
1
])
-
x
;
}
};