diff options
Diffstat (limited to 'src/test/ui/inline-const/macro-with-const.rs')
-rw-r--r-- | src/test/ui/inline-const/macro-with-const.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/ui/inline-const/macro-with-const.rs b/src/test/ui/inline-const/macro-with-const.rs deleted file mode 100644 index e7393166d..000000000 --- a/src/test/ui/inline-const/macro-with-const.rs +++ /dev/null @@ -1,20 +0,0 @@ -// check-pass - -macro_rules! exp { - (const $n:expr) => { - $n - }; -} - -macro_rules! stmt { - (exp $e:expr) => { - $e - }; - (exp $($t:tt)+) => { - exp!($($t)+) - }; -} - -fn main() { - stmt!(exp const 1); -} |