summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/issue-76064.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/consts/issue-76064.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/consts/issue-76064.rs b/src/test/ui/consts/issue-76064.rs
new file mode 100644
index 000000000..3c153ad72
--- /dev/null
+++ b/src/test/ui/consts/issue-76064.rs
@@ -0,0 +1,3 @@
+struct Bug([u8; panic!("panic")]); //~ ERROR evaluation of constant value failed
+
+fn main() {}