diff options
Diffstat (limited to 'src/test/ui/parser/unsafe-foreign-mod-2.rs')
-rw-r--r-- | src/test/ui/parser/unsafe-foreign-mod-2.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/parser/unsafe-foreign-mod-2.rs b/src/test/ui/parser/unsafe-foreign-mod-2.rs deleted file mode 100644 index 77856fb67..000000000 --- a/src/test/ui/parser/unsafe-foreign-mod-2.rs +++ /dev/null @@ -1,8 +0,0 @@ -extern "C" unsafe { - //~^ ERROR expected `{`, found keyword `unsafe` - //~| ERROR extern block cannot be declared unsafe - unsafe fn foo(); - //~^ ERROR functions in `extern` blocks cannot have qualifiers -} - -fn main() {} |