-
Notifications
You must be signed in to change notification settings - Fork 512
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
Showing
3 changed files
with
39 additions
and
37 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 |
---|---|---|
@@ -1,32 +1,32 @@ | ||
/* Generated by compiling with gcc 4.4 (or higher?) as follows: | ||
** | ||
** gcc -g -o file.out file.c | ||
*/ | ||
|
||
#include <stdio.h> | ||
|
||
struct def | ||
{ | ||
int ijk; | ||
char c; | ||
long long lint; | ||
float mno; | ||
int bit1 : 1; | ||
int bit3 : 3; | ||
int bit2 : 2; | ||
int bit4 : 4; | ||
//}; | ||
}__attribute__((__packed__)); | ||
|
||
const int GLOBAL_CONST; | ||
|
||
int tryGlobal; | ||
struct def hiLo; | ||
|
||
int main() | ||
{ | ||
int abc; | ||
printf("Hello World\n"); | ||
return 0; | ||
} | ||
/* Generated by compiling with gcc 4.4 (or higher?) as follows: | ||
** | ||
** gcc -g -o file.out file.c | ||
*/ | ||
|
||
#include <stdio.h> | ||
|
||
struct def | ||
{ | ||
int ijk; | ||
char c; | ||
long long lint; | ||
float mno; | ||
int bit1 : 1; | ||
int bit3 : 3; | ||
int bit2 : 2; | ||
int bit4 : 4; | ||
//}; | ||
}__attribute__((__packed__)); | ||
|
||
const int GLOBAL_CONST; | ||
|
||
int tryGlobal; | ||
struct def hiLo; | ||
|
||
int main() | ||
{ | ||
int abc; | ||
printf("Hello World\n"); | ||
return 0; | ||
} | ||
|
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 |
---|---|---|
|
@@ -11,4 +11,5 @@ int main() { | |
|
||
printf("Sum of %d and %d is %d\n", num1, num2, sum); | ||
return 0; | ||
} | ||
} | ||
|