Skip to content

Instantly share code, notes, and snippets.

@shanemhansen
Created July 1, 2014 02:34
Show Gist options
  • Save shanemhansen/747f32639aa7592c8bad to your computer and use it in GitHub Desktop.
Save shanemhansen/747f32639aa7592c8bad to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
struct List {
struct List *next;
};
int main(int argc, char **argv) {
struct List *l = malloc(sizeof (struct List));
l->next = l;
int i;
for(i=0;i<156751200; i++) {
l = l->next;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment