repo.or.cz
/
deriving.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
README: add toplevel usage example
[deriving.git]
/
tests
/
issue2.ml
blob
0669c57bfd494de03bec965e9425019711e81211
1
(*pp deriving *)
2
(* Test build with
3
ocamlc -o dtest -I $DERIVING_HOME/lib -pp $DERIVING_HOME/syntax/deriving deriving.cma DerivingTest.ml
4
*)
5
6
type
foo
=
int
list deriving
(
Show
)
7
8
let
_
=
9
let
three
=
3
in
10
if
three
<
7
then
11
()
12
else
13
assert false