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