summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-omit-gdb-pretty-printer-section.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-omit-gdb-pretty-printer-section.rs')
-rw-r--r--src/test/ui/feature-gates/feature-gate-omit-gdb-pretty-printer-section.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-omit-gdb-pretty-printer-section.rs b/src/test/ui/feature-gates/feature-gate-omit-gdb-pretty-printer-section.rs
new file mode 100644
index 000000000..66bf79738
--- /dev/null
+++ b/src/test/ui/feature-gates/feature-gate-omit-gdb-pretty-printer-section.rs
@@ -0,0 +1,2 @@
+#[omit_gdb_pretty_printer_section] //~ ERROR the `#[omit_gdb_pretty_printer_section]` attribute is
+fn main() {}