diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/deriving/deriving-via-extension-hash-struct.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/deriving/deriving-via-extension-hash-struct.rs b/src/test/ui/deriving/deriving-via-extension-hash-struct.rs new file mode 100644 index 000000000..c4037dc27 --- /dev/null +++ b/src/test/ui/deriving/deriving-via-extension-hash-struct.rs @@ -0,0 +1,12 @@ +// run-pass +#![allow(dead_code)] +// pretty-expanded FIXME #23616 + +#[derive(Hash)] +struct Foo { + x: isize, + y: isize, + z: isize +} + +pub fn main() {} |