diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-17718-parse-const.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-17718-parse-const.rs b/src/test/ui/issues/issue-17718-parse-const.rs new file mode 100644 index 000000000..d5a5f445d --- /dev/null +++ b/src/test/ui/issues/issue-17718-parse-const.rs @@ -0,0 +1,7 @@ +// run-pass + +const FOO: usize = 3; + +fn main() { + assert_eq!(FOO, 3); +} |