Commit 54c75f8c by Nathan Sidwell Committed by Nathan Sidwell

sizeof3.C: Remove XFAILS.

	* g++.old-deja/g++.other/sizeof3.C: Remove XFAILS.
	* g++.old-deja/g++.other/sizeof4.C: Remove XFAILS.

From-SVN: r29379
parent cc3dc6ea
Mon Sep 13 14:14:21 BST 1999 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/sizeof3.C: Remove XFAILS.
* g++.old-deja/g++.other/sizeof4.C: Remove XFAILS.
Mon Sep 13 06:28:57 1999 Jeffrey A Law (law@cygnus.com) Mon Sep 13 06:28:57 1999 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/990913-1.c: New test. * gcc.c-torture/compile/990913-1.c: New test.
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
// means things like the rhs of a comma operator mustn't decay. This will make // means things like the rhs of a comma operator mustn't decay. This will make
// a difference if it is an array or function. // a difference if it is an array or function.
// execution test - XFAIL
extern void abort(); extern void abort();
int main (int argc, char **argv) int main (int argc, char **argv)
......
...@@ -22,15 +22,15 @@ int main (int argc, char **argv) ...@@ -22,15 +22,15 @@ int main (int argc, char **argv)
sizeof (argc ? s : s); // ERROR - incomplete sizeof (argc ? s : s); // ERROR - incomplete
sizeof (arys); // ERROR - incomplete sizeof (arys); // ERROR - incomplete
sizeof (0, arys); // ERROR - incomplete XFAIL sizeof (0, arys); // ERROR - incomplete
sizeof (argc ? arys : arys); // ERROR - incomplete sizeof (argc ? arys : arys); // ERROR - incomplete
sizeof (aryt); // ERROR - incomplete sizeof (aryt); // ERROR - incomplete
sizeof (0, aryt); // ERROR - incomplete XFAIL sizeof (0, aryt); // ERROR - incomplete
sizeof (argc ? aryt : aryt); // ERROR - incomplete sizeof (argc ? aryt : aryt); // ERROR - incomplete
sizeof (fn); // ERROR - cannot take size of function sizeof (fn); // ERROR - cannot take size of function
sizeof (0, fn); // ERROR - cannot take size of function XFAIL sizeof (0, fn); // ERROR - cannot take size of function
sizeof (argc ? fn : fn); // ERROR - cannot take size of function sizeof (argc ? fn : fn); // ERROR - cannot take size of function
sizeof (&fn); // ok sizeof (&fn); // ok
......
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