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 c57a8f5 commit 449459eCopy full SHA for 449459e
clang/test/Interpreter/Inputs/vector
@@ -0,0 +1,10 @@
1
+#ifndef VECTOR
2
+#define VECTOR
3
+namespace std {
4
+template <typename>
5
+class vector {
6
+public:
7
+ vector();
8
+};
9
+} // namespace std
10
+#endif // VECTOR
clang/test/Interpreter/crash.cpp
@@ -5,7 +5,7 @@
//
// RUN: split-file %s %t
-// RUN: %clang++ -std=c++20 -fPIC -c %t/vec.cpp -o %t/vec.o
+// RUN: %clang++ -Xclang -nostdsysteminc -I%S/Inputs/ -std=c++20 -fPIC -c %t/vec.cpp -o %t/vec.o
// RUN: %clang++ -shared %t/vec.o -o %t/vec.so
11
// RUN: cat %t/Test.cpp | LD_LIBRARY_PATH=%t:$LD_LIBRARY_PATH clang-repl
0 commit comments