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

source code of lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/invalid/main.cpp