summaryrefslogtreecommitdiff
path: root/lldb/test/API/commands/expression/import-std-module/array/main.cpp
blob: b71e4f876769d179fe0792d4e01efa0b9600225a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <__verbose_abort>
#include <array>

// Some expressons from the test need this symbol to be compiled when libcxx is
// built statically.
void *libcpp_verbose_abort_ptr = (void *)&std::__libcpp_verbose_abort;

struct DbgInfo {
  int v = 4;
};

int main(int argc, char **argv) {
  std::array<int, 3> a = {3, 1, 2};
  std::array<DbgInfo, 1> b{DbgInfo()};
  return 0; // Set break point at this line.
}