1 // REQUIRES: xcore-registered-target
2 // RUN: %clang_cc1 -triple xcore-unknown-unknown -emit-llvm -o - %s
4 // D77068 fixes a segmentation fault and assertion failure "Unexpected null
5 // Value" in the case of an unused inline function, when targeting xcore. This
6 // test verifies that clang does not crash and does not produce code for such a
9 inline void dead_function(void) {}