From 7de3ef26370a5822c387e449e6fbfc1c9d083591 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 17 Oct 2014 02:51:11 +0200 Subject: first commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/new.cc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/new.cc (limited to 'src/new.cc') diff --git a/src/new.cc b/src/new.cc new file mode 100644 index 0000000..5e96747 --- /dev/null +++ b/src/new.cc @@ -0,0 +1,19 @@ +/** + * 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 + +int main(void) +{ + char* a; + size_t i; + + for (i = 0; i < 40000000UL; i++) + a = new char[16]; + + return 0; +} + -- cgit v1.2.3-70-g09d2