Skip to content

Commit

Permalink
Combine related tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrel committed Jul 8, 2024
1 parent 2da873a commit 9da51ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
13 changes: 8 additions & 5 deletions compiler/test/fail_compilation/fail347.d
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
EXTRA_FILES: imports/fail347a.d
TEST_OUTPUT:
---
fail_compilation/fail347.d(24): Error: undefined identifier `bbr`, did you mean variable `bar`?
fail_compilation/fail347.d(25): Error: no property `ofo` for type `S`, did you mean `fail347.S.foo`?
fail_compilation/fail347.d(27): Error: no property `fool` for `sp` of type `fail347.S*`
fail_compilation/fail347.d(27): did you mean variable `foo`?
fail_compilation/fail347.d(28): Error: undefined identifier `strlenx`, did you mean function `strlen`?
fail_compilation/fail347.d(26): Error: undefined identifier `bbr`, did you mean variable `bar`?
fail_compilation/fail347.d(27): Error: no property `ofo` for type `S`, did you mean `fail347.S.foo`?
fail_compilation/fail347.d(29): Error: no property `fool` for `sp` of type `fail347.S*`
fail_compilation/fail347.d(29): did you mean variable `foo`?
fail_compilation/fail347.d(30): Error: undefined identifier `strlenx`, did you mean function `strlen`?
fail_compilation/fail347.d(31): Error: no property `strlenx` for `"hello"` of type `string`
fail_compilation/fail347.d(31): did you mean function `strlen`?
---
*/

Expand All @@ -26,4 +28,5 @@ void main()
auto sp = &bar;
sp.fool = 5;
auto s = strlenx("hello");
auto q = "hello".strlenx();
}
16 changes: 0 additions & 16 deletions compiler/test/fail_compilation/ufcs_spell.d

This file was deleted.

0 comments on commit 9da51ae

Please sign in to comment.