summaryrefslogtreecommitdiff
path: root/testsuite/tests/programs/barton-mangler-bug/test.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/programs/barton-mangler-bug/test.T')
-rw-r--r--testsuite/tests/programs/barton-mangler-bug/test.T14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/programs/barton-mangler-bug/test.T b/testsuite/tests/programs/barton-mangler-bug/test.T
new file mode 100644
index 0000000000..966b971ae9
--- /dev/null
+++ b/testsuite/tests/programs/barton-mangler-bug/test.T
@@ -0,0 +1,14 @@
+# Exhausts Hugs's heap (CAF leak)
+
+test('barton-mangler-bug',
+ [skip_if_fast,
+ extra_clean(['Basic.hi', 'Basic.o',
+ 'Expected.hi', 'Expected.o',
+ 'Main.hi', 'Main.o',
+ 'Physical.hi', 'Physical.o',
+ 'Plot.hi', 'Plot.o',
+ 'PlotExample.hi', 'PlotExample.o',
+ 'TypesettingTricks.hi', 'TypesettingTricks.o']),
+ omit_compiler_types(['hugs'])],
+ multimod_compile_and_run, ['Main', ''])
+