Skip to content

Commit 790f287

Browse files
committed
Add tests
1 parent 92a8c53 commit 790f287

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

test/corpus/type_defn.txt

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2087,6 +2087,64 @@ exception MyError of string * int
20872087
(long_identifier
20882088
(identifier))))))
20892089

2090+
================================================================================
2091+
exception defn 3
2092+
================================================================================
2093+
2094+
exception MyError
2095+
2096+
--------------------------------------------------------------------------------
2097+
2098+
(file
2099+
(exception_definition
2100+
(long_identifier
2101+
(identifier))))
2102+
2103+
================================================================================
2104+
exception defn 4
2105+
================================================================================
2106+
2107+
exception internal MyError
2108+
2109+
--------------------------------------------------------------------------------
2110+
2111+
(file
2112+
(exception_definition
2113+
(access_modifier)
2114+
(long_identifier
2115+
(identifier))))
2116+
2117+
================================================================================
2118+
exception defn 5
2119+
================================================================================
2120+
2121+
exception private MyError
2122+
2123+
--------------------------------------------------------------------------------
2124+
2125+
(file
2126+
(exception_definition
2127+
(access_modifier)
2128+
(long_identifier
2129+
(identifier))))
2130+
2131+
================================================================================
2132+
exception defn 6
2133+
================================================================================
2134+
2135+
exception private MyError of string
2136+
2137+
--------------------------------------------------------------------------------
2138+
2139+
(file
2140+
(exception_definition
2141+
(access_modifier)
2142+
(long_identifier
2143+
(identifier))
2144+
(simple_type
2145+
(long_identifier
2146+
(identifier)))))
2147+
20902148
================================================================================
20912149
member val with get, set
20922150
================================================================================

0 commit comments

Comments
 (0)