summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-isa_attribute.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-isa_attribute.rs')
-rw-r--r--src/test/ui/feature-gates/feature-gate-isa_attribute.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-isa_attribute.rs b/src/test/ui/feature-gates/feature-gate-isa_attribute.rs
new file mode 100644
index 000000000..cb02a0955
--- /dev/null
+++ b/src/test/ui/feature-gates/feature-gate-isa_attribute.rs
@@ -0,0 +1,6 @@
+#[instruction_set]
+//~^ ERROR the `#[instruction_set]` attribute is an experimental feature [E0658]
+//~| ERROR malformed `instruction_set` attribute input
+//~| ERROR must specify an instruction set [E0778]
+fn main() {
+}