summaryrefslogtreecommitdiff
path: root/Tests/Fortran/mycxx.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Fortran/mycxx.cxx')
-rw-r--r--Tests/Fortran/mycxx.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/Fortran/mycxx.cxx b/Tests/Fortran/mycxx.cxx
new file mode 100644
index 000000000..bf04062ed
--- /dev/null
+++ b/Tests/Fortran/mycxx.cxx
@@ -0,0 +1,6 @@
+extern "C" int myc(void);
+extern "C" int mycxx(void)
+{
+ delete new int;
+ return myc();
+}