1/* On ARM, BAR used to get a bogus number in E due to stack 2 misalignment. */ 3 4extern void abort (void); 5extern void exit (int); 6 7void 8foo (void) 9{ 10 int f = 0; 11 12 void bar (int a, int b, int c, int d, int e) 13 { 14 if (e != 0) 15 { 16 f = 1; 17 abort (); 18 } 19 } 20 21 bar (0, 0, 0, 0, 0); 22} 23 24int 25main (void) 26{ 27 foo (); 28 exit (0); 29} 30