diff --git a/tests/source/fn-simple.rs b/tests/source/fn-simple.rs
index 30d11dbc71e..5f41141b689 100644
--- a/tests/source/fn-simple.rs
+++ b/tests/source/fn-simple.rs
@@ -18,6 +18,8 @@ fn generic<T>(arg: T) -> &SomeType
     arg(a, b, c, d, e)    
 }
 
+fn foo()  ->  !  {}
+
 pub fn http_fetch_async(listener:Box< AsyncCORSResponseListener+Send >,  script_chan:  Box<ScriptChan+Send>) {
 }
 
diff --git a/tests/target/fn-simple.rs b/tests/target/fn-simple.rs
index f01e85193f5..e8b5635671d 100644
--- a/tests/target/fn-simple.rs
+++ b/tests/target/fn-simple.rs
@@ -28,6 +28,9 @@ fn generic<T>(arg: T) -> &SomeType
     arg(a, b, c, d, e)
 }
 
+fn foo() -> ! {
+}
+
 pub fn http_fetch_async(listener: Box<AsyncCORSResponseListener + Send>,
                         script_chan: Box<ScriptChan + Send>) {
 }