aboutsummaryrefslogtreecommitdiff
path: root/test-suite/success/BracketsWithGoalSelector.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/success/BracketsWithGoalSelector.v')
-rw-r--r--test-suite/success/BracketsWithGoalSelector.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/success/BracketsWithGoalSelector.v b/test-suite/success/BracketsWithGoalSelector.v
new file mode 100644
index 0000000000..dd032767ca
--- /dev/null
+++ b/test-suite/success/BracketsWithGoalSelector.v
@@ -0,0 +1,10 @@
+Goal forall A B, B \/ A -> A \/ B.
+Proof.
+ intros * [HB | HA].
+ 2: {
+ left.
+ exact HA.
+ }
+ right.
+ exact HB.
+Qed.