aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libfoo/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libfoo/main.cpp')
-rw-r--r--tests/libfoo/main.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/libfoo/main.cpp b/tests/libfoo/main.cpp
new file mode 100644
index 000000000..6f410addb
--- /dev/null
+++ b/tests/libfoo/main.cpp
@@ -0,0 +1,15 @@
+#include "foo.h"
+#include "bar.h"
+
+int
+main(int argv, char **argc)
+{
+ Bar bar;
+
+ bar.unpureVirtual();
+ bar.pureVirtual();
+ bar.callPureVirtual();
+
+ return 0;
+}
+