diff options
Diffstat (limited to 'tests/ui/error-codes/E0264.rs')
-rw-r--r-- | tests/ui/error-codes/E0264.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0264.rs b/tests/ui/error-codes/E0264.rs new file mode 100644 index 000000000..6adaf01fb --- /dev/null +++ b/tests/ui/error-codes/E0264.rs @@ -0,0 +1,8 @@ +#![feature(lang_items)] + +extern "C" { + #[lang = "cake"] + fn cake(); //~ ERROR E0264 +} + +fn main() {} |