Revert Intel-style assembly back to AT&T-style.
[pintos-anon] / src / tests / userprog / sc-bad-arg.c
1 #include <syscall-nr.h>
2 #include "tests/lib.h"
3 #include "tests/main.h"
4
5 void
6 test_main (void) 
7 {
8   asm volatile ("movl $0xbffffffc, %%esp; movl %0, (%%esp); int $0x30"
9                 :: "i" (SYS_exit));
10   fail ("should have called exit(-1)");
11 }