summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-repr128.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-repr128.rs')
-rw-r--r--src/test/ui/feature-gates/feature-gate-repr128.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-repr128.rs b/src/test/ui/feature-gates/feature-gate-repr128.rs
new file mode 100644
index 000000000..0290874dd
--- /dev/null
+++ b/src/test/ui/feature-gates/feature-gate-repr128.rs
@@ -0,0 +1,6 @@
+#[repr(u128)]
+enum A { //~ ERROR repr with 128-bit type is unstable
+ A(u64)
+}
+
+fn main() {}