diff options
Diffstat (limited to 'test/CXX/CXX.py')
-rw-r--r-- | test/CXX/CXX.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/CXX/CXX.py b/test/CXX/CXX.py index 6f9f0ce..70a9b82 100644 --- a/test/CXX/CXX.py +++ b/test/CXX/CXX.py @@ -52,7 +52,7 @@ infile = open(args[0], 'rb') outfile = open(out, 'wb') for l in infile.readlines(): if l[:8] != '/*link*/': - outfile.write(l) + outfile.write(l) sys.exit(0) """) @@ -72,7 +72,7 @@ infile = open(inf, 'rb') outfile = open(out, 'wb') for l in infile.readlines(): if l[:7] != '/*c++*/': - outfile.write(l) + outfile.write(l) sys.exit(0) """) @@ -88,7 +88,7 @@ infile = open(args[0], 'rb') outfile = open(out, 'wb') for l in infile.readlines(): if l[:8] != '/*link*/': - outfile.write(l) + outfile.write(l) sys.exit(0) """) @@ -102,7 +102,7 @@ infile = open(args[0], 'rb') outfile = open(out, 'wb') for l in infile.readlines(): if l[:7] != '/*c++*/': - outfile.write(l) + outfile.write(l) sys.exit(0) """) @@ -199,9 +199,9 @@ test.write('foo.cxx', r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("foo.cxx\n"); - exit (0); + argv[argc++] = "--"; + printf("foo.cxx\n"); + exit (0); } """) @@ -211,9 +211,9 @@ test.write('bar.cxx', r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("foo.cxx\n"); - exit (0); + argv[argc++] = "--"; + printf("foo.cxx\n"); + exit (0); } """) |