repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr60746.C
blob
941e42ca783c09b3de2ce0e0d907d3f23e41bed5
1
// { dg-do compile }
2
3
class One
4
{
5
public:
6
virtual unsigned long getSize () const;
7
};
8
9
class Two
10
{
11
virtual int run ();
12
};
13
14
int
15
Two::run ()
16
{
17
One list_arry[5][2];
18
int orig = 0;
19
if (list_arry[3][orig].getSize () > 0
20
|| list_arry[4][orig].getSize () > 0)
21
{
22
}
23
24
return 0;
25
}