1 | // Test that we don't crash when trying to pretty-print structures that don't |
---|---|
2 | // have the layout our data formatters expect. |
3 | namespace std { |
4 | template<typename T, typename Deleter = void> |
5 | class unique_ptr {}; |
6 | } |
7 | |
8 | int main() { |
9 | std::unique_ptr<int> U; |
10 | return 0; //% self.expect("frame variable U", substrs=["unique_ptr", "{}"]) |
11 | } |
12 |