]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-make/save-analysis/foo.rs
save-analysis: handle << and >> operators inside [] in types
[rust.git] / src / test / run-make / save-analysis / foo.rs
index e9ed897bf302be8e294e8a1224be72358918a6a1..e8b69729af673d6675a793b271e3e8c83a496cfc 100644 (file)
@@ -57,6 +57,12 @@ fn foo(x: &Write) {}
     let y = x.1;
 }
 
+// Issue #37700
+const LUT_BITS: usize = 3;
+pub struct HuffmanTable {
+    ac_lut: Option<[(i16, u8); 1 << LUT_BITS]>,
+}
+
 struct TupStruct(isize, isize, Box<str>);
 
 fn test_tup_struct(x: TupStruct) -> isize {