genode/base/src/test/segfault/main.cc
2013-01-04 15:26:16 +01:00

16 lines
253 B
C++

/*
* \brief Trigger segmentation fault
* \author Norman Feske
* \date 2012-11-01
*/
#include <base/printf.h>
int main(int argc, char **argv)
{
Genode::printf("going to produce a segmentation fault...\n");
*((int *)0x44) = 0x55;
return 0;
}