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