-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
09a845d
commit 53b2a01
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
Source/IntegrationTests/TestFiles/LitTests/LitTest/at-attributes/at-attributes-typos0.dfy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// RUN: %exits-with -any %resolve "%s" > "%t" | ||
// RUN: %diff "%s.expect" "%t" | ||
// Attributes on top-level declarations | ||
|
||
@Option("--function-syntax:3") // Should be Options | ||
module SimpleLinearModule { | ||
} | ||
|
||
function OtherUnresolvedfunction(): string { | ||
3 | ||
} |
3 changes: 3 additions & 0 deletions
3
...IntegrationTests/TestFiles/LitTests/LitTest/at-attributes/at-attributes-typos0.dfy.expect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
at-attributes-typos0.dfy(5,1): Error: unresolved identifier: Option | ||
at-attributes-typos0.dfy(6,7): Error: not resolving module '_module' because there were errors in resolving its nested module 'SimpleLinearModule' | ||
2 resolution/type errors detected in at-attributes-typos0.dfy |