test: hasCSimpAttribute
This commit is contained in:
parent
33a7f75599
commit
bc7f4fd02b
1 changed files with 8 additions and 0 deletions
8
tests/lean/run/csimpAttrFn.lean
Normal file
8
tests/lean/run/csimpAttrFn.lean
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import Lean
|
||||
|
||||
open Lean
|
||||
open Lean.Compiler
|
||||
|
||||
#eval (do assert! hasCSimpAttribute (← getEnv) ``List.map_eq_mapTR : MetaM Unit)
|
||||
#eval (do assert! hasCSimpAttribute (← getEnv) ``List.append_eq_appendTR : MetaM Unit)
|
||||
#eval (do assert! !hasCSimpAttribute (← getEnv) ``List.append : MetaM Unit)
|
||||
Loading…
Add table
Reference in a new issue