blob: 438af79c90bbd8b60ba473c272af822db92b2ac1 [file] [log] [blame]
int test(int x) {
if (x) {
int *p = 0;
return *p; // Null dereference.
} else {
return 1 / x; // Division by zero.
}
}