Fix bug, mark expected failure

From-SVN: r25499
This commit is contained in:
Martin v. Löwis 1999-02-28 09:56:05 +00:00
parent 994de9dd71
commit c13861594e
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ private:
int main(){
CArray a;
double *pa = a + 1; // gets bogus error - should convert
double *pa = a + 1; // gets bogus error - should convert - XFAIL
return 0;
}

View File

@ -8,13 +8,13 @@ struct Outer{
Inner(int n): sum(n){}
typename Outer<N-1>::Inner operator[](int n) const
{ return Outer<N-1>::Inner(sum + n); }
{ return typename Outer<N-1>::Inner(sum + n); }
int sum;
};
typename Outer<N-1>::Inner operator[](int n) const
{ return Outer<N-1>::Inner(n); }
{ return typename Outer<N-1>::Inner(n); }
};