1 // REQUIRES: xcore-registered-target 2 // RUN: %clang_cc1 -triple xcore-unknown-unknown -emit-llvm -o - %s 3 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 7 // function. 8 dead_function(void)9inline void dead_function(void) {} 10