Index: modules/simpletest/simpletest.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/simpletest/simpletest.test,v
retrieving revision 1.36
diff -u -r1.36 simpletest.test
--- modules/simpletest/simpletest.test	16 Oct 2009 03:01:54 -0000	1.36
+++ modules/simpletest/simpletest.test	10 Dec 2009 22:59:57 -0000
@@ -36,6 +36,16 @@
       parent::setUp();
     }
   }
+  
+  /**
+   * Test if fatal errors are caught. Call an undefined function, foo().
+   */
+  function testKobayashiMaru() {
+    if (!function_exists('foo')) {
+      foo();
+    }
+    $this->fail();
+  }
 
   /**
    * Test the internal browsers functionality.
