Commit c1386159 by Martin v. Löwis

Fix bug, mark expected failure

From-SVN: r25499
parent 994de9dd
......@@ -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); }
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment