summaryrefslogtreecommitdiff
path: root/test cases/python/11 script path/gen
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/python/11 script path/gen')
-rwxr-xr-xtest cases/python/11 script path/gen7
1 files changed, 7 insertions, 0 deletions
diff --git a/test cases/python/11 script path/gen b/test cases/python/11 script path/gen
new file mode 100755
index 000000000..3d3169441
--- /dev/null
+++ b/test cases/python/11 script path/gen
@@ -0,0 +1,7 @@
+#!/usr/bin/env python3
+
+
+if __name__ == '__main__':
+ with open('x.c', 'w', encoding='utf-8') as f:
+ f.write('int main() { return 0; }\n')
+ exit(0)