| 1 |
(************************************************************************) |
| 2 |
(* * The Rocq Prover / The Rocq Development Team *) |
| 3 |
(* v * Copyright INRIA, CNRS and contributors *) |
| 4 |
(* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 |
(* \VV/ **************************************************************) |
| 6 |
(* // * This file is distributed under the terms of the *) |
| 7 |
(* * GNU Lesser General Public License Version 2.1 *) |
| 8 |
(* * (see LICENSE file for the text of the license) *) |
| 9 |
(************************************************************************) |
| 10 |
|
| 11 |
(* (c) Copyright 2006-2016 Microsoft Corporation and Inria. *) |
| 12 |
|
| 13 |
Require Import ssreflect. |
| 14 |
Require Import ssrbool ssrfun. |
| 15 |
Require Import TestSuite.ssr_mini_mathcomp. |
| 16 |
|
| 17 |
Set Implicit Arguments. |
| 18 |
Unset Strict Implicit. |
| 19 |
Import Prenex Implicits. |
| 20 |
|
| 21 |
(* error 2 *) |
| 22 |
|
| 23 |
Goal (exists f: Set -> nat, f nat = 0). |
| 24 |
Proof. set (f:= fun _:Set =>0). by exists f. Qed. |
| 25 |
|
| 26 |
Goal (exists f: Set -> nat, f nat = 0). |
| 27 |
Proof. set f := (fun _:Set =>0). by exists f. Qed. |