source: tests/errors/.expect/scope-type.txt @ 4d860ea3

Last change on this file since 4d860ea3 was 4d860ea3, checked in by Michael Brooks <mlbrooks@…>, 8 months ago

Fix compiler bug where duplicate type declarations caused crash.

And add missing test. The test runs and fails with the previous cfa compiler.

  • Property mode set to 100644
File size: 445 bytes
Line 
1errors/scope-type.cfa:13:1 error: redeclaration of struct thisIsAnError with body
2
3errors/scope-type.cfa:48:1 error: redeclaration of union thisIsAnError_u with body
4
5errors/scope-type.cfa:62:1 error: redeclaration of enum thisIsAnError_e with body
6... with members
7  E0: const instance of enum thisIsAnError_e with body
8
9
10errors/scope-type.cfa:76:1 error: redeclaration of struct thisIsAnError_p with body
11... with parameters
12  Tx: data type
13
14
Note: See TracBrowser for help on using the repository browser.