about summary refs log tree commit diff
path: root/src/test/run-make-fulldeps/compiler-rt-works-on-mingw/foo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make-fulldeps/compiler-rt-works-on-mingw/foo.cpp')
-rw-r--r--src/test/run-make-fulldeps/compiler-rt-works-on-mingw/foo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/compiler-rt-works-on-mingw/foo.cpp b/src/test/run-make-fulldeps/compiler-rt-works-on-mingw/foo.cpp
new file mode 100644
index 00000000000..aac3ba42201
--- /dev/null
+++ b/src/test/run-make-fulldeps/compiler-rt-works-on-mingw/foo.cpp
@@ -0,0 +1,5 @@
+// ignore-license
+extern "C" void foo() {
+    int *a = new int(3);
+    delete a;
+}