aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p5793.C
blob: 53469cdf07af245b3d6b6b68c4ee10e4a699387b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Build don't link:
// 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)
    ;
}