brintos

brintos / llvm-project-archived public Read only

0
0
Text · 408 B · b71e4f8 Raw
17 lines · cpp
1#include <__verbose_abort>2#include <array>3 4// Some expressons from the test need this symbol to be compiled when libcxx is5// built statically.6void *libcpp_verbose_abort_ptr = (void *)&std::__libcpp_verbose_abort;7 8struct DbgInfo {9  int v = 4;10};11 12int 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