clang-format
This commit is contained in:
@@ -38,19 +38,17 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#define REALLY_BIG_ADDRESS 0x40000000
|
||||
#define REALLY_BIG_ADDRESS 0x40000000
|
||||
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
volatile int i;
|
||||
int main(void) {
|
||||
volatile int i;
|
||||
|
||||
printf("\nEntering the faulter program - I should die immediately\n");
|
||||
i = *(int *)REALLY_BIG_ADDRESS;
|
||||
printf("\nEntering the faulter program - I should die immediately\n");
|
||||
i = *(int *)REALLY_BIG_ADDRESS;
|
||||
|
||||
// gcc 4.8 improperly demands this
|
||||
(void)i;
|
||||
// gcc 4.8 improperly demands this
|
||||
(void)i;
|
||||
|
||||
printf("I didn't get killed! Program has a bug\n");
|
||||
return 0;
|
||||
printf("I didn't get killed! Program has a bug\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user