mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-20 11:54:02 +00:00
Estimated hours taken: 0.25 tests/hard_coded/sub-modules/Mmakefile: tests/hard_coded/sub-modules/class.m: tests/hard_coded/sub-modules/class.exp: Add a test case that uses `class', `int', and `char' as module names. This test case is testing that module names which have the same syntax as keywords in the target language get properly mangled/escaped.
16 lines
271 B
Plaintext
16 lines
271 B
Plaintext
class:char:hello
|
|
class:char:hello
|
|
class:char:hello
|
|
class:int:hello
|
|
class:int:hello
|
|
t1 = class:char:foo
|
|
t2 = class:char:foo
|
|
t3 = class:char:foo
|
|
t4 = class:int:foo
|
|
t5 = class:int:foo
|
|
has_type_t1 = bar
|
|
has_type_t2 = bar
|
|
has_type_t3 = bar
|
|
has_type_t4 = bar
|
|
has_type_t5 = bar
|