Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p6927.C
blob: 22b4875e32a1c8159742409de8e7aa72251168d1 [
file
] [
log
] [
blame
]
// { dg-do run }
// prms-id: 6927
class
Object
{
public
:
Object
();
int
Value
;
};
Object
::
Object
()
:
Value
(-
1
)
{
}
Object
*
pArr
=
new
Object
[
2
];
int
main
()
{
if
(
pArr
[
0
].
Value
!=
-
1
||
pArr
[
1
].
Value
!=
-
1
)
return
1
;
}