summaryrefslogtreecommitdiff
path: root/deps/gyp/test/no-cpp/src/f.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/no-cpp/src/f.cc')
-rw-r--r--deps/gyp/test/no-cpp/src/f.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/gyp/test/no-cpp/src/f.cc b/deps/gyp/test/no-cpp/src/f.cc
new file mode 100644
index 0000000000..02f50f21a0
--- /dev/null
+++ b/deps/gyp/test/no-cpp/src/f.cc
@@ -0,0 +1,3 @@
+extern "C" { void* f(); }
+
+void* f() { return new int; }