]> git.proxmox.com Git - rustc.git/blobdiff - vendor/rustversion/tests/ui/const-not-fn.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / vendor / rustversion / tests / ui / const-not-fn.rs
diff --git a/vendor/rustversion/tests/ui/const-not-fn.rs b/vendor/rustversion/tests/ui/const-not-fn.rs
new file mode 100644 (file)
index 0000000..215df7d
--- /dev/null
@@ -0,0 +1,4 @@
+#[rustversion::attr(all(), const)]
+pub struct S;
+
+fn main() {}