From a4b7ed7a42c716ab9f05e351f003d589124fd55d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:58 +0200 Subject: Adding upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../macros/syntax-extension-source-utils-files/includeme.fragment | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/ui/macros/syntax-extension-source-utils-files/includeme.fragment (limited to 'tests/ui/macros/syntax-extension-source-utils-files/includeme.fragment') diff --git a/tests/ui/macros/syntax-extension-source-utils-files/includeme.fragment b/tests/ui/macros/syntax-extension-source-utils-files/includeme.fragment new file mode 100644 index 000000000..d752015a4 --- /dev/null +++ b/tests/ui/macros/syntax-extension-source-utils-files/includeme.fragment @@ -0,0 +1,7 @@ +/* this is for run-pass/syntax-extension-source-utils.rs */ + +{ + assert!(file!().ends_with("includeme.fragment")); + assert_eq!(line!(), 5u32); + format!("victory robot {}", line!()) +} -- cgit v1.2.3