CVSROOT: /web/www Module name: www Changes by: Steven Richards <sbrichards> 11/07/13 21:07:42
Modified files: fun/jokes : declarations.html Log message: Added funny declarations from ticket #693402 CVSWeb URLs: http://web.cvs.savannah.gnu.org/viewcvs/www/fun/jokes/declarations.html?cvsroot=www&r1=1.14&r2=1.15 Patches: Index: declarations.html =================================================================== RCS file: /web/www/www/fun/jokes/declarations.html,v retrieving revision 1.14 retrieving revision 1.15 diff -u -b -r1.14 -r1.15 --- declarations.html 9 Mar 2009 12:01:12 -0000 1.14 +++ declarations.html 13 Jul 2011 21:07:39 -0000 1.15 @@ -149,6 +149,41 @@ }; </pre> +<p>The following was submitted by Matthew Brades:</p> + +<pre> +auto mobile; +long trousers_with_holes; +char red_to_a_crisp; +unsigned long long contract; +float y_thing; +union commitee; +volatile gas; +volatile liquid; + +// The darned switch don't work! +switch (button) { +> case on: +> switch (on_light) { +> case broken: +> goto hardware_shop; +> goto hardware_shop_again; +> break; +> } +> break; +> case off: +> return to_shop; +> } + +// Don't forget the preprocessor! +// This may offend some people - I apologise + +#ifdef AND_PERSON_IS_FINE +#ifndef AND_PERSON_IS_FINE + +#define answer_universe 42 +</pre> + <p>An initial variant of this joke is also available in <a href="/fun/jokes/declarations">plain text</a>.</p> @@ -176,7 +211,7 @@ <p>Updated: <!-- timestamp start --> -$Date: 2009/03/09 12:01:12 $ +$Date: 2011/07/13 21:07:39 $ <!-- timestamp end --> </p> </div>