Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / torture / pr60746.C
blob941e42ca783c09b3de2ce0e0d907d3f23e41bed5
1 // { dg-do compile }
3 class One
5 public:
6   virtual unsigned long getSize () const;
7 };
9 class Two
11   virtual int run ();
14 int
15 Two::run ()
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     }
24   return 0;