aboutsummaryrefslogtreecommitdiffstats
path: root/test/function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/function.cpp')
-rw-r--r--test/function.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/function.cpp b/test/function.cpp
new file mode 100644
index 0000000..83878e7
--- /dev/null
+++ b/test/function.cpp
@@ -0,0 +1,20 @@
+
+namespace function_ns{
+void MyFunc(void) { return; }
+
+class yolo {
+public:
+ yolo() = default;
+ yolo(int a) : a(a) {}
+ virtual ~yolo();
+
+ void yolofunc(void) { return; }
+
+private:
+ int a;
+};
+
+#define MFunc macroedFunc
+
+void MFunc(void) { return; }
+} // namespace