summaryrefslogtreecommitdiff
path: root/adhoc.cpp.proto
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2002-12-06 22:02:46 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2002-12-06 22:02:46 +0000
commita3f0af934e387ba259919f0b72b42120eef3bc5c (patch)
treedf9cff822523331cad30742ddb34056544c7a80d /adhoc.cpp.proto
parentf8840dc745d13414205c944b2ffc0796837340f5 (diff)
downloadcryptopp-a3f0af934e387ba259919f0b72b42120eef3bc5c.tar.gz
add script-driven testing
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@24 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'adhoc.cpp.proto')
-rw-r--r--adhoc.cpp.proto8
1 files changed, 8 insertions, 0 deletions
diff --git a/adhoc.cpp.proto b/adhoc.cpp.proto
new file mode 100644
index 0000000..8e7f9c2
--- /dev/null
+++ b/adhoc.cpp.proto
@@ -0,0 +1,8 @@
+extern int (*AdhocTest)(int argc, char *argv[]);
+
+int MyAdhocTest(int argc, char *argv[])
+{
+ return 0;
+}
+
+static int s_i = (AdhocTest = &MyAdhocTest, 0);