summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p5793.C
blob: db6e658aa4f59cae625a88cde2238571076264be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// { dg-do assemble  }
// prms-id: 5793

class temp_string {
 public:
  temp_string (const int);
  temp_string (const char * const);
};

class Range { 
 public:
  Range ( const int);
  operator int () const ;
};

int operator == (const int, temp_string );

void CheckArrayConstraints(void)    { 
  if (Range(0L) == 0L)
    ;
}