Fix bug, mark expected failure
From-SVN: r25499
This commit is contained in:
parent
994de9dd71
commit
c13861594e
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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); }
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user