repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update ChangeLogs and version numbers for 2.95.3 release
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p6927.C
blob
7a0ec4229c75645b463b5ef495aba1d95015e244
1
// prms-id: 6927
2
3
class Object {
4
public:
5
Object();
6
int Value;
7
};
8
9
Object::Object() : Value(-1) { }
10
11
Object *pArr = new Object[2];
12
13
int main() {
14
if (pArr[0].Value != -1 || pArr[1].Value != -1)
15
return 1;
16
}