summaryrefslogtreecommitdiff
path: root/deps/gyp/test/rules-dirname/src/subdir/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/rules-dirname/src/subdir/main.cc')
-rw-r--r--deps/gyp/test/rules-dirname/src/subdir/main.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/deps/gyp/test/rules-dirname/src/subdir/main.cc b/deps/gyp/test/rules-dirname/src/subdir/main.cc
new file mode 100644
index 0000000000..3bb8e01395
--- /dev/null
+++ b/deps/gyp/test/rules-dirname/src/subdir/main.cc
@@ -0,0 +1,14 @@
+// Copyright (c) 2011 Google Inc. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+namespace gen {
+ extern void nodir();
+ extern void c();
+ extern void baz();
+}
+
+int main() {
+ gen::nodir();
+ gen::c();
+ gen::baz();
+}