genode/repos/base/src/test/segfault/main.cc
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02: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;
}