summaryrefslogtreecommitdiffstats
path: root/src/tests/vm/pt-grow-bad.c
blob: d4beba22ff50e06ff6a31bc4783061ce2abd92b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Read from an address 4,096 bytes below the stack pointer.
   The process must be terminated with -1 exit code. */

#include <string.h>
#include "tests/arc4.h"
#include "tests/cksum.h"
#include "tests/lib.h"
#include "tests/main.h"

void
test_main (void)
{
  asm volatile ("movl -4096(%esp), %eax");
}