diff options
Diffstat (limited to 'tests/ui/rustc-error.rs')
-rw-r--r-- | tests/ui/rustc-error.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/rustc-error.rs b/tests/ui/rustc-error.rs new file mode 100644 index 000000000..69d57948f --- /dev/null +++ b/tests/ui/rustc-error.rs @@ -0,0 +1,6 @@ +#![feature(rustc_attrs)] + +#[rustc_error] +fn main() { + //~^ ERROR fatal error triggered by #[rustc_error] +} |