xref: /llvm-project/lldb/test/API/commands/expression/import-std-module/array/main.cpp (revision 61e2841d8b83319e90cd44cf77770d2e41080cc2)
1 #include <__verbose_abort>
2 #include <array>
3 
4 // Some expressons from the test need this symbol to be compiled when libcxx is
5 // built statically.
6 void *libcpp_verbose_abort_ptr = (void *)&std::__libcpp_verbose_abort;
7 
8 struct DbgInfo {
9   int v = 4;
10 };
11 
12 int main(int argc, char **argv) {
13   std::array<int, 3> a = {3, 1, 2};
14   std::array<DbgInfo, 1> b{DbgInfo()};
15   return 0; // Set break point at this line.
16 }
17