-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix for #582. * Test for fix.
- Loading branch information
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
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
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,5 @@ | ||
int x = (1, 0); | ||
|
||
int main() { | ||
return x; | ||
} |
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,8 @@ | ||
static-init-comma.c:1:1: error: Non-constant static initializer. | ||
|
||
Constraint violation (CV-TSE3): | ||
see C11 section 6.7.9:4 http://rvdoc.org/C11/6.7.9 | ||
see CERT-C section MSC40-C http://rvdoc.org/CERT-C/MSC40-C | ||
see MISRA-C section 8.1:1 http://rvdoc.org/MISRA-C/8.1 | ||
|
||
Translation failed (kcc_config dumped). To repeat, run this command in directory unit-fail-compilation: |