add test for #7457
authorSimon Marlow <marlowsd@gmail.com>
Mon, 28 Jan 2013 09:40:37 +0000 (09:40 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 28 Jan 2013 09:40:37 +0000 (09:40 +0000)
tests/T7457.hs [new file with mode: 0644]
tests/T7457.stdout [new file with mode: 0644]
tests/all.T

diff --git a/tests/T7457.hs b/tests/T7457.hs
new file mode 100644 (file)
index 0000000..5f73aad
--- /dev/null
@@ -0,0 +1,2 @@
+import Text.Printf
+main = printf "%*sx\n" (-(3::Int)) "hi"
diff --git a/tests/T7457.stdout b/tests/T7457.stdout
new file mode 100644 (file)
index 0000000..93b570a
--- /dev/null
@@ -0,0 +1 @@
+hi x
index c0e0439..05b639b 100644 (file)
@@ -122,3 +122,5 @@ test('T7034', normal, compile_and_run, [''])
 
 test('qsem001', normal, compile_and_run, [''])
 test('qsemn001', normal, compile_and_run, [''])
+
+test('T7457', normal, compile_and_run, [''])