Debian Codegraph @

gcc/testsuite/g++.dg/torture/pr60746.C

raw
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 }