aboutsummaryrefslogblamecommitdiffstats
path: root/src/alloca.cc
blob: a46c69bfef54c767079e172971735911c3ed7656 (plain) (tree)



















                                                                       
/**
 * Copying and distribution of this file, with or without modification,
 * are permitted in any medium without royalty provided the copyright
 * notice and this notice are preserved.  This file is offered as-is,
 * without any warranty.
 */
#include <cstdlib>
#include <alloca.h>

int main(void)
{
  char* a;
  size_t i;
  
  for (i = 0; i < 40000000UL; i++)
    a = (char*)alloca(16);
  
  return 0;
}