diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/pretty/offset_of.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pretty/offset_of.rs b/tests/pretty/offset_of.rs new file mode 100644 index 00000000000..e1783432857 --- /dev/null +++ b/tests/pretty/offset_of.rs @@ -0,0 +1,4 @@ +// pp-exact +#![feature(offset_of)] + +fn main() { std::mem::offset_of!(std :: ops :: Range < usize >, end); } |
