summaryrefslogtreecommitdiffstats
path: root/kcachegrind/tests/cg-badcostline1
diff options
context:
space:
mode:
Diffstat (limited to 'kcachegrind/tests/cg-badcostline1')
-rw-r--r--kcachegrind/tests/cg-badcostline111
1 files changed, 11 insertions, 0 deletions
diff --git a/kcachegrind/tests/cg-badcostline1 b/kcachegrind/tests/cg-badcostline1
new file mode 100644
index 00000000..224ff670
--- /dev/null
+++ b/kcachegrind/tests/cg-badcostline1
@@ -0,0 +1,11 @@
+# Test with bad callgrind format
+# Expected:
+# :10 - ignored garbage at end of cost line ('30')
+# :11 - ignored garbage at end of cost line ('hello')
+
+events: Ir
+
+fn=main
+10 20 30
+11 hello
+12 10