diff options
Diffstat (limited to 'tests/ui/span/E0537.rs')
-rw-r--r-- | tests/ui/span/E0537.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/span/E0537.rs b/tests/ui/span/E0537.rs new file mode 100644 index 000000000..4088a9ae5 --- /dev/null +++ b/tests/ui/span/E0537.rs @@ -0,0 +1,4 @@ +#[cfg(unknown())] //~ ERROR E0537 +pub fn something() {} + +pub fn main() {} |