summaryrefslogtreecommitdiffstats
path: root/tests/bfs/warn_O9.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-11-30 13:57:12 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-11-30 14:10:18 -0500
commit33a6a3027f0b1ec931824a4b2206bf6659df53a4 (patch)
tree27b7946f34848695723f087c62e35439d02d22be /tests/bfs/warn_O9.sh
parent1d68b43f1554ee82b3ac5772534a5ecbd57855a7 (diff)
downloadbfs-33a6a3027f0b1ec931824a4b2206bf6659df53a4.tar.xz
parse: Pass the right argument when warning about -O9
Diffstat (limited to 'tests/bfs/warn_O9.sh')
-rw-r--r--tests/bfs/warn_O9.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/bfs/warn_O9.sh b/tests/bfs/warn_O9.sh
new file mode 100644
index 0000000..821789f
--- /dev/null
+++ b/tests/bfs/warn_O9.sh
@@ -0,0 +1,3 @@
+# Regression test: don't crash when warning if -O9 is the last argument
+cd basic
+bfs_diff -warn -O9