aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cpplocators
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cpplocators')
-rw-r--r--tests/cpplocators/testdata_basic/file1.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cpplocators/testdata_basic/file1.cpp b/tests/cpplocators/testdata_basic/file1.cpp
index 75c772cfb21..6db50704e4c 100644
--- a/tests/cpplocators/testdata_basic/file1.cpp
+++ b/tests/cpplocators/testdata_basic/file1.cpp
@@ -1,9 +1,13 @@
// Copyright header
+#define GENERATE_FUNC void myFunctionGenerated() {}
+
//
// Symbols in a global namespace
//
+GENERATE_FUNC
+
int myVariable;
int myFunction(bool yesno, int number) {}