1 // Regression test for issue #75062 2 // Tests that we don't ICE on a privacy error for a fieldless tuple struct. 3 4 mod foo { 5 struct Bar(); 6 } 7 main()8 fn main() { 9 foo::Bar(); //~ ERROR tuple struct 10 } 11