-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Aspectator fixing printing of local static variables
https://forge.ispras.ru/issues/5556 In addition, the commit adds a related test case that covers all storage class specifiers for local and global variables.
- Loading branch information
Showing
4 changed files
with
25 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
int var1; | ||
static int var2; | ||
extern int var3; | ||
|
||
void func(void) | ||
{ | ||
int var4; | ||
static int var5; | ||
register int var6; | ||
} |
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,10 @@ | ||
int var1; | ||
static int var2; | ||
extern int var3; | ||
#line 5 "/home/novikov/work/cif/tests/input/c-backend/var-decl-storage-classes.c" | ||
void func(void) | ||
{ | ||
int var4; | ||
static int var5; | ||
register int var6; | ||
} |
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