summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/builtin-std-paths.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/macros/builtin-std-paths.rs')
-rw-r--r--src/test/ui/macros/builtin-std-paths.rs32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/test/ui/macros/builtin-std-paths.rs b/src/test/ui/macros/builtin-std-paths.rs
new file mode 100644
index 000000000..2083f9ba3
--- /dev/null
+++ b/src/test/ui/macros/builtin-std-paths.rs
@@ -0,0 +1,32 @@
+// check-pass
+
+#[derive(
+ core::clone::Clone,
+ core::marker::Copy,
+ core::fmt::Debug,
+ core::default::Default,
+ core::cmp::Eq,
+ core::hash::Hash,
+ core::cmp::Ord,
+ core::cmp::PartialEq,
+ core::cmp::PartialOrd,
+)]
+struct Core;
+
+#[derive(
+ std::clone::Clone,
+ std::marker::Copy,
+ std::fmt::Debug,
+ std::default::Default,
+ std::cmp::Eq,
+ std::hash::Hash,
+ std::cmp::Ord,
+ std::cmp::PartialEq,
+ std::cmp::PartialOrd,
+)]
+struct Std;
+
+fn main() {
+ core::column!();
+ std::column!();
+}