We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 559a2d0 commit 86210edCopy full SHA for 86210ed
clang/test/Interpreter/crash.cpp
@@ -0,0 +1,20 @@
1
+// REQUIRES: host-supports-jit, x86_64-linux
2
+
3
+// RUN: rm -rf %t
4
+// RUN: mkdir -p %t
5
+//
6
+// RUN: split-file %s %t
7
8
+// RUN: %clang++ -std=c++20 -fPIC -c %t/vec.cpp -o %t/vec.o
9
+// RUN: %clang++ -shared %t/vec.o -o %t/vec.so
10
11
+// RUN: cat %t/Test.cpp | LD_LIBRARY_PATH=%t:$LD_LIBRARY_PATH clang-repl
12
13
+//--- vec.cpp
14
+#include <vector>
15
16
+//--- Test.cpp
17
+%lib vec.dylib
18
19
+std::vector<int> v;
20
+%quit
0 commit comments