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