Commit 4c37d704 by Jason Merrill

up

From-SVN: r23131
parent a39f6bb0
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
main() main()
{ {
int &ir = s.i; int &ir = s.i; // ERROR - address of bitfield
int *ip = &s.i;// ERROR - .* , XFAIL *-*-* int *ip = &s.i; // ERROR - address of bitfield
ir = 10; ir = 10;
} }
...@@ -41,7 +41,7 @@ void struct0::function_member () ...@@ -41,7 +41,7 @@ void struct0::function_member ()
i = this->*dmp; // perfectly legal - for both cfront and g++ i = this->*dmp; // perfectly legal - for both cfront and g++
i = (*fmp) (); // ERROR - i = (*fmp) (); // ERROR -
i = *dmp; // ERROR - , XFAIL *-*-* i = *dmp; // ERROR -
} }
int main () { return 0; } int main () { return 0; }
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