From c7e5c870f33c8eab21540bfe045a291aedbdc838 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 14 Sep 2012 16:16:46 -0700 Subject: [PATCH] Remove restricted keyword tests --- src/test/compile-fail/restricted-keyword1.rs | 7 ------- src/test/compile-fail/restricted-keyword2.rs | 5 ----- 2 files changed, 12 deletions(-) delete mode 100644 src/test/compile-fail/restricted-keyword1.rs delete mode 100644 src/test/compile-fail/restricted-keyword2.rs diff --git a/src/test/compile-fail/restricted-keyword1.rs b/src/test/compile-fail/restricted-keyword1.rs deleted file mode 100644 index 36d472bc4a2..00000000000 --- a/src/test/compile-fail/restricted-keyword1.rs +++ /dev/null @@ -1,7 +0,0 @@ -// error-pattern:found `fail` in restricted position - -fn main() { - match true { - {fail} { } - } -} diff --git a/src/test/compile-fail/restricted-keyword2.rs b/src/test/compile-fail/restricted-keyword2.rs deleted file mode 100644 index 76d258ef196..00000000000 --- a/src/test/compile-fail/restricted-keyword2.rs +++ /dev/null @@ -1,5 +0,0 @@ -// error-pattern:found `fail` in restricted position - -fn main() { - enum fail = int; -}