aboutsummaryrefslogtreecommitdiff
path: root/tests/test/generated/driver.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-12-01 12:07:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-12-01 12:07:18 +0200
commit0ed86c76239d4f2904ea4ae1a77902a9e0db2a6d (patch)
tree5e8e1d43a0140f5739b21be7cbe120ebb9360d4f /tests/test/generated/driver.cxx
parent12fc75188cc1f0a8c4c443c04e7a022131198c36 (diff)
Move old tests to old-tests/
Diffstat (limited to 'tests/test/generated/driver.cxx')
-rw-r--r--tests/test/generated/driver.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/test/generated/driver.cxx b/tests/test/generated/driver.cxx
deleted file mode 100644
index 008dbf7..0000000
--- a/tests/test/generated/driver.cxx
+++ /dev/null
@@ -1,24 +0,0 @@
-#include <iostream>
-#include <fstream>
-
-using namespace std;
-
-int
-main (int argc, char* argv[])
-{
- if (argc != 2)
- {
- cerr << "usage: " << argv[0] << " <file>" << endl;
- return 1;
- }
-
- ifstream ifs (argv[1], ifstream::in | ifstream::binary | ifstream::ate);
-
- if (!ifs.is_open ())
- cerr << "unable to open " << argv[1] << endl;
-
- if (ifs.tellg () == 0)
- cerr << argv[1] << " is empty" << endl;
-
- return 0;
-}