Fail* directories reorganized, Code-cleanup (-> coding-style), Typos+comments fixed.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1321 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
20
simulators/ovp/test1/application/application.c
Normal file
20
simulators/ovp/test1/application/application.c
Normal file
@ -0,0 +1,20 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int foo = 0x37;
|
||||
int bar = 34;
|
||||
|
||||
int main() {
|
||||
long i;
|
||||
printf("\nHello\n\n");
|
||||
|
||||
for (i=0; i<50000; i++) {
|
||||
printf("%d\n", i);
|
||||
foo = 0x37;
|
||||
printf("foo: (0x%x) = 0x%x\n", &foo, foo);
|
||||
bar = 34;
|
||||
printf("bar: (0x%x) = %d\n\n", &bar, bar);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user